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

20 lines
475 B
Nginx Configuration File
Raw Normal View History

2021-12-18 14:56:34 +01:00
location __PATH__ {
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
proxy_pass http://127.0.0.1:__PORT__;
proxy_set_header Host $host;
2021-12-17 11:38:57 +01:00
2021-12-18 14:56:34 +01:00
proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Scheme https;
2021-12-17 11:38:57 +01:00
2021-12-18 14:56:34 +01:00
proxy_buffering off;
# Include SSOWAT user panel.
# include conf.d/yunohost_panel.conf.inc;
2021-12-17 11:38:57 +01:00
}
2021-12-18 14:56:34 +01:00