mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
commit
1c5c0d91df
2 changed files with 22 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# TO DO: restore http://box/libros & http://box/livres etc, alongside English (#2195)
|
|
||||||
# RELATED: https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy
|
# RELATED: https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy
|
||||||
|
|
||||||
|
# http://box/books
|
||||||
location {{ calibreweb_url1 }}/ {
|
location {{ calibreweb_url1 }}/ {
|
||||||
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;
|
||||||
|
@ -8,3 +8,21 @@ location {{ calibreweb_url1 }}/ {
|
||||||
proxy_set_header X-Script-Name {{ calibreweb_url1 }};
|
proxy_set_header X-Script-Name {{ calibreweb_url1 }};
|
||||||
proxy_pass http://127.0.0.1:8083;
|
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;
|
||||||
|
proxy_set_header X-Scheme $scheme;
|
||||||
|
proxy_set_header X-Script-Name {{ 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;
|
||||||
|
proxy_set_header X-Scheme $scheme;
|
||||||
|
proxy_set_header X-Script-Name {{ calibreweb_url3 }};
|
||||||
|
proxy_pass http://127.0.0.1:8083;
|
||||||
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
2. Without PHP available via FastCGI, any function at all for PHP-based applications validates NGINX.
|
2. Without PHP available via FastCGI, any function at all for PHP-based applications validates NGINX.
|
||||||
|
|
||||||
3. Current state of IIAB App/Service migrations as of 2020-02-04:
|
3. Current state of IIAB App/Service migrations as of 2020-02-14:
|
||||||
|
|
||||||
1. These support "Native" NGINX but ***NOT*** Apache
|
1. These support "Native" NGINX but ***NOT*** Apache
|
||||||
* Admin Console
|
* Admin Console
|
||||||
|
@ -44,6 +44,6 @@
|
||||||
* kalite (menu goes directly to ports 8006-8008) [*]
|
* kalite (menu goes directly to ports 8006-8008) [*]
|
||||||
* minetest [*]
|
* minetest [*]
|
||||||
* openvpn [*]
|
* openvpn [*]
|
||||||
* pbx
|
* pbx [*]
|
||||||
|
|
||||||
[*] Apache, NGINX and the 7 starred roles above could use improvement as of 2020-02-04.
|
[*] The 6 above starred roles could use improvement, as of 2020-02-14.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue