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

14 lines
309 B
Nginx Configuration File
Raw Normal View History

2020-11-05 19:32:18 +01:00
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
2014-10-20 18:55:53 +02:00
# Path to source
2020-11-05 19:32:18 +01:00
alias __FINALPATH__/ ;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
2014-10-20 18:55:53 +02:00
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
2020-11-05 20:59:46 +01:00
}