mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-20 02:06:07 +01:00
No double slash in nginx proxy_pass
This commit is contained in:
parent
979df0cbc4
commit
f0545dacb9
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue