Skip to content
Permalink
Browse files
Merge pull request #724 from apache/update-reverse-proxy-nginx
Update reverse proxy config for nginx
  • Loading branch information
big-r81 committed May 5, 2022
2 parents 146d1a9 + 6226c0a commit 631377e2a4ea138de9bbe618f1dc61f7ee295aab
Showing 1 changed file with 3 additions and 2 deletions.
@@ -104,8 +104,9 @@ as ``http://domain.com/couchdb/db1/doc1`` are proxied to
.. code-block:: text

location /couchdb {
rewrite /couchdb/(.*) /$1 break;
proxy_pass http://localhost:5984;
rewrite ^ $request_uri;
rewrite ^/couchdb/(.*) /$1 break;
proxy_pass http://localhost:5984$uri;
proxy_redirect off;
proxy_buffering off;
proxy_set_header Host $host;

0 comments on commit 631377e

Please sign in to comment.