Hi, I'm facing a 502 bad gateway error from my httpd proxy. My use case is pretty simple, just PUT an image as attachment twice. Then the second request is facing a revision conflict but I get the 502 error instead of a JSON error response.
The request I use : PUT /database0/document0/tmpImage.jpg?rev=8-b5b4327c77aea245cf04c9e7ef830046 HTTP/1.1 // 1st response is a json ok response PUT /database0/document0/tmpImage.jpg?rev=8-b5b4327c77aea245cf04c9e7ef830046 HTTP/1.1 // 2nd response is 502 bad gateway html file To set up my proxy I used https://wiki.apache.org/couchdb/Apache_As_a_Reverse_Proxy You can see my httpd conf below. Thanks for any hints. CouchDB 1.4. CentOS 6 httpd.conf : AllowEncodedSlashes On ProxyRequests Off <Proxy *> Order Allow,Deny Allow from all </Proxy> ServerName servtest.com ProxyPass / http://localhost:5984/ nocanon ProxyPassReverse / http://localhost:5984/ ssl.conf : AllowEncodedSlashes On ProxyRequests Off <Proxy *> Order Allow,Deny Allow from all </Proxy> ServerName servtest.com ProxyPass / http://localhost:5984/ nocanon ProxyPassReverse / http://localhost.com:5984/ SSLEngine on SSLProtocol all -SSLv2 SSLCertificateFile /etc/httpd/certs/servtest.crt SSLCertificateKeyFile /etc/httpd/certs/servtest.key SSLCertificateChainFile /etc/httpd/certs/DigiCertCA.crt Max
