mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
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
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue