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

Working nginx template

This commit is contained in:
J. Fernando Lagrange 2017-07-18 05:22:58 +02:00
parent a2b6f9f048
commit daa2e9bf09

View file

@ -1,11 +1,7 @@
location YNH_WWW_PATH {
proxy_pass http://127.0.0.1:8069/;
proxy_redirect off;
location /YNH_WWW_PATH/ {
proxy_pass http://127.0.0.1:9876/;
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;
proxy_redirect off;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;