Merge pull request #10 from YunoHost-Apps/ynh_panel_include

nginx doesn't seems to like recursive location
This commit is contained in:
opi 2017-06-22 18:44:34 +02:00 committed by GitHub
commit 93543f9bfb
1 changed files with 3 additions and 3 deletions

View File

@ -5,6 +5,9 @@ location __PATH__ {
rewrite ^ https://$server_name$request_uri? permanent;
}
try_files $uri @searx;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
location @searx {
@ -12,7 +15,4 @@ location @searx {
include uwsgi_params;
uwsgi_modifier1 30;
uwsgi_pass unix:///run/uwsgi/app/searx/socket;
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}