You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
363 B
15 lines
363 B
location PATHTOCHANGE {
|
|
if ($scheme = http) {
|
|
rewrite ^ https://$server_name$request_uri? permanent;
|
|
}
|
|
try_files $uri @ffsync;
|
|
}
|
|
|
|
location @ffsync {
|
|
uwsgi_pass unix:///run/uwsgi/app/ffsync/socket;
|
|
include uwsgi_params;
|
|
|
|
# Include SSOWAT user panel.
|
|
include conf.d/yunohost_panel.conf.inc;
|
|
}
|