mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
No double slash in nginx proxy_pass
This commit is contained in:
parent
979df0cbc4
commit
f0545dacb9
@ -298,7 +298,7 @@ With nginx, the required configuration is::
|
|||||||
proxy_set_header X-Forwarded-For $remote_addr;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
location /calibre/ {
|
location /calibre/ {
|
||||||
proxy_buffering off;
|
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 {
|
location /calibre {
|
||||||
# we need a trailing slash for the Application Cache to work
|
# we need a trailing slash for the Application Cache to work
|
||||||
|
Loading…
x
Reference in New Issue
Block a user