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

15 lines
310 B
Nginx Configuration File
Raw Normal View History

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