Daniel Holth created COUCHDB-3155:

             Summary: Fauxton does not work reverse proxied into a subfolder
                 Key: COUCHDB-3155
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3155
             Project: CouchDB
          Issue Type: Bug
          Components: Fauxton
            Reporter: Daniel Holth

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.

    location /db {
        rewrite /db/(.*) /$1 break;
        proxy_set_header X-Forwarded-For $remote_addr;
        proxy_set_header Host $proxy_host;

        proxy_redirect https://$host/db;

This message was sent by Atlassian JIRA

Reply via email to