mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use $request_uri in nginx so there is no need for hackery
This commit is contained in:
parent
6ccfc14465
commit
042df155ea
@ -298,11 +298,7 @@ With nginx, the required configuration is::
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
location /calibre/ {
|
||||
proxy_buffering off;
|
||||
# Really, this should be passed on to /calibre but because of an nginx
|
||||
# bug: https://trac.nginx.org/nginx/ticket/727 we cannot do so. Things
|
||||
# should still work, since /calibre is not used by the calibre server
|
||||
# itself.
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
proxy_pass http://127.0.0.1:8080/$request_uri;
|
||||
}
|
||||
location /calibre {
|
||||
# we need a trailing slash for the Application Cache to work
|
||||
|
Loading…
x
Reference in New Issue
Block a user