You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "André Breda (JIRA)" <ji...@apache.org> on 2017/04/23 22:51:04 UTC
[jira] [Commented] (COUCHDB-3155) Fauxton does not work reverse
proxied into a subfolder
[ https://issues.apache.org/jira/browse/COUCHDB-3155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15980570#comment-15980570 ]
André Breda commented on COUCHDB-3155:
--------------------------------------
This may be a regression: https://issues.apache.org/jira/browse/COUCHDB-1937
> 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.
> Excerpt from nginx configuration:
> {noformat}
> 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;
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)