No double slash in nginx proxy_pass

This commit is contained in:
Kovid Goyal 2017-06-27 00:35:13 +05:30
parent 979df0cbc4
commit f0545dacb9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -298,7 +298,7 @@ With nginx, the required configuration is::
proxy_set_header X-Forwarded-For $remote_addr;
location /calibre/ {
proxy_buffering off;
proxy_pass http://127.0.0.1:8080/$request_uri;
proxy_pass http://127.0.0.1:8080$request_uri;
}
location /calibre {
# we need a trailing slash for the Application Cache to work