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:
parent
a2b6f9f048
commit
daa2e9bf09
1 changed files with 3 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue