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

14 lines
300 B
Nginx Configuration File
Raw Normal View History

2020-05-10 10:40:23 +02:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
2015-03-08 15:02:54 +01:00
2020-05-10 11:16:00 +02:00
# Path to source
alias __FINALPATH__/ ;
2020-05-10 10:40:23 +02:00
2020-05-10 11:16:00 +02:00
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
2015-03-08 15:02:54 +01:00
2020-05-10 11:16:00 +02:00
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
2020-05-10 10:40:23 +02:00
}