mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
fix trailing slash issue - remove proxy_bind
This commit is contained in:
parent
ce2a4031ad
commit
6a959fbaec
3 changed files with 12 additions and 17 deletions
|
@ -1,5 +1,4 @@
|
||||||
location /books {
|
location /books/ {
|
||||||
proxy_bind $server_addr;
|
|
||||||
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;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
location /kolibri {
|
location /kolibri/ {
|
||||||
proxy_bind $server_addr;
|
|
||||||
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;
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
# sugarizer_port is set to 8089 in /opt/iiab/iiab/vars/default_vars.yml
|
# sugarizer_port is set to 8089 in /opt/iiab/iiab/vars/default_vars.yml
|
||||||
# If you need to change this, edit /etc/iiab/local_vars.yml prior to installing
|
# If you need to change this, edit /etc/iiab/local_vars.yml prior to installing
|
||||||
|
|
||||||
|
|
||||||
location /sugarizer {
|
location /sugarizer {
|
||||||
proxy_bind $server_addr;
|
|
||||||
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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue