1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wemawema_ynh.git synced 2024-10-01 13:34:56 +02:00
wemawema_ynh/conf/nginx.conf

15 lines
310 B
Nginx Configuration File
Raw Normal View History

#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
location __PATH__/ {
2017-10-28 19:28:51 +02:00
# Path to source
alias __FINALPATH__/ ;
# Force usage of https
2017-10-28 19:28:51 +02:00
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}