nginx doesn't to like recursive location
Was producing the error: [emerg] location "ynhpanel\.(js|json|css)" cannot be inside the named location "@searx" in /etc/nginx/conf.d/yunohost_panel.conf.inc:7
This commit is contained in:
parent
8d0a4f4a9b
commit
bd1cde3535
|
@ -5,6 +5,9 @@ location __PATH__ {
|
||||||
rewrite ^ https://$server_name$request_uri? permanent;
|
rewrite ^ https://$server_name$request_uri? permanent;
|
||||||
}
|
}
|
||||||
try_files $uri @searx;
|
try_files $uri @searx;
|
||||||
|
|
||||||
|
# Include SSOWAT user panel.
|
||||||
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
}
|
}
|
||||||
|
|
||||||
location @searx {
|
location @searx {
|
||||||
|
@ -12,7 +15,4 @@ location @searx {
|
||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
uwsgi_modifier1 30;
|
uwsgi_modifier1 30;
|
||||||
uwsgi_pass unix:///run/uwsgi/app/searx/socket;
|
uwsgi_pass unix:///run/uwsgi/app/searx/socket;
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue