1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/timeoff_ynh.git synced 2024-09-03 20:35:59 +02:00
timeoff_ynh/conf/nginx.conf

14 lines
283 B
Nginx Configuration File
Raw Normal View History

2018-04-03 19:00:18 +02:00
location __PATH__/ {
2021-08-30 23:12:28 +02:00
2018-04-03 19:00:18 +02:00
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
2021-08-30 23:12:28 +02:00
2021-08-30 23:49:05 +02:00
proxy_pass http://127.0.0.1:__PORT__/;
proxy_set_header Host $host;
proxy_buffering off;
2018-04-03 19:00:18 +02:00
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}