2018-11-29 16:18:40 +01:00
|
|
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
2018-11-29 16:01:56 +01:00
|
|
|
location __PATH__/ {
|
2018-11-29 15:04:37 +01:00
|
|
|
|
2018-11-29 16:18:40 +01:00
|
|
|
# Path to source
|
|
|
|
alias __FINALPATH__/ ;
|
|
|
|
|
|
|
|
# Force usage of https
|
|
|
|
if ($scheme = http) {
|
|
|
|
rewrite ^ https://$server_name$request_uri? permanent;
|
2021-06-27 15:43:18 +02:00
|
|
|
}
|
|
|
|
|
2018-11-29 16:47:34 +01:00
|
|
|
index index.htm;
|
2021-06-27 15:43:18 +02:00
|
|
|
|
2018-11-29 16:18:40 +01:00
|
|
|
# Include SSOWAT user panel.
|
|
|
|
include conf.d/yunohost_panel.conf.inc;
|
2018-11-29 11:55:24 +01:00
|
|
|
}
|