1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dispatch_ynh.git synced 2024-09-03 18:25:53 +02:00
dispatch_ynh/conf/nginx.conf

14 lines
384 B
Nginx Configuration File
Raw Normal View History

2022-07-16 18:40:29 +02:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
2021-05-30 12:34:29 +02:00
2021-07-08 11:53:42 +02:00
proxy_pass http://127.0.0.1:__PORT__/;
2021-05-30 12:34:29 +02:00
proxy_http_version 1.1;
proxy_set_header Connection "upgrade";
2021-07-08 11:53:42 +02:00
proxy_set_header Upgrade $http_upgrade;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header Host $host;
2021-05-30 12:34:29 +02:00
2021-09-25 15:20:36 +02:00
# Include SSOWAT user panel.
2022-07-16 18:40:29 +02:00
#include conf.d/yunohost_panel.conf.inc;
2021-05-30 12:34:29 +02:00
}