Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
I like to use couchdb behind nginx in a subdirectory, like so, but Fauxton always requests /_session instead of /db/_session for example. Instead, Fauxton should build URLs relative to where it was requested from.
Excerpt from nginx configuration:
location /db { rewrite /db/(.*) /$1 break; proxy_set_header X-Forwarded-For $remote_addr; proxy_set_header Host $proxy_host; proxy_pass http://127.0.0.1:5984; proxy_redirect https://127.0.0.1:5984 https://$host/db; }
Attachments
Issue Links
- duplicates
-
COUCHDB-2403 Build Fauxton for a different url paths?
- Closed