Update reverse proxy nginx

pull/495/head
Ozzie Isaacs 7 years ago committed by GitHub
parent 7a20c14dea
commit ee4ec8b122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save