1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kresus_ynh.git synced 2024-09-03 19:36:10 +02:00

Accurate nginx template

This commit is contained in:
J. Fernando Lagrange 2017-07-18 02:12:10 +02:00
parent 05d8d5624c
commit a2b6f9f048

View file

@ -1,12 +1,12 @@
location YNH_WWW_PATH {
proxy_pass http://127.0.0.1:8069/;
proxy_redirect off;
proxy_set_headerHost $host;
proxy_set_headerX-Real-IP $remote_addr;
proxy_set_headerX-Forwarded-Proto $scheme;
proxy_set_headerX-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}