Skip to content
Permalink
Browse files
Update reverse proxy config for nginx
Fix #675
  • Loading branch information
big-r81 committed May 5, 2022
1 parent 146d1a9 commit 6226c0a1f4debbb5b84700bd989fccb9cab5ec73
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 6226c0a

Please sign in to comment.