1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Update calibre-web-nginx.conf.j2

This commit is contained in:
A Holt 2020-02-14 02:02:48 -05:00 committed by GitHub
parent 8001b18660
commit 936acdc099
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,6 @@
# RELATED: https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy
# http://box/books
location {{ calibreweb_url1 }}/ {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@ -8,6 +9,7 @@ location {{ calibreweb_url1 }}/ {
proxy_pass http://127.0.0.1:8083;
}
# http://box/libros
location {{ calibreweb_url2 }}/ {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
@ -16,6 +18,7 @@ location {{ calibreweb_url2 }}/ {
proxy_pass http://127.0.0.1:8083;
}
# http://box/livres
location {{ calibreweb_url3 }}/ {
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;