mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
10 lines
440 B
Django/Jinja
10 lines
440 B
Django/Jinja
# 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
|
|
|
|
location /sugarizer {
|
|
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 /sugarizer;
|
|
proxy_pass http://127.0.0.1:{{ sugarizer_port }};
|
|
}
|