Update reverse proxy nginx
This commit is contained in:
parent
7a20c14dea
commit
ee4ec8b122
|
@ -121,13 +121,13 @@ http {
|
||||||
server 127.0.0.1:8083;
|
server 127.0.0.1:8083;
|
||||||
}
|
}
|
||||||
server {
|
server {
|
||||||
location /calibre-web {
|
location /calibre {
|
||||||
proxy_bind $server_addr;
|
proxy_bind $server_addr;
|
||||||
proxy_pass http://127.0.0.1:8083;
|
proxy_pass http://127.0.0.1:8083;
|
||||||
proxy_set_header Host $http_host;
|
proxy_set_header Host $http_host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Scheme $scheme;
|
proxy_set_header X-Scheme $scheme;
|
||||||
proxy_set_header X-Script-Name /calibre-web;
|
proxy_set_header X-Script-Name /calibre;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user