1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ffsync_ynh.git synced 2024-09-03 18:26:38 +02:00
ffsync_ynh/conf/nginx.conf
2014-11-15 16:24:32 +00:00

14 lines
363 B
Nginx Configuration File

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;
}