Merge pull request #10 from YunoHost-Apps/ynh_panel_include
nginx doesn't seems to like recursive location
This commit is contained in:
commit
93543f9bfb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue