2018-11-29 16:24:45 +01:00
|
|
|
|
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;
|
2018-11-29 16:24:45 +01: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
|
|
|
}
|