|
|
@ -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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|