mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-07-22 11:59:33 +00:00
searx: Strictly match relaxed URLs
To avoid unexpected security consequences. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
c68d76b86f
commit
432aa1b343
@ -1,11 +1,10 @@
|
||||
# This exclusion rule is to allow Searx to be added as a search engine in Firefox.
|
||||
<Location ~ "/searx/(opensearch.xml|static/themes/oscar/img/favicon.png)">
|
||||
<LocationMatch "^/searx/(opensearch.xml|static/themes/oscar/img/favicon.png)$">
|
||||
Satisfy Any
|
||||
Allow from all
|
||||
AuthType None
|
||||
Require all granted
|
||||
ProxyPass unix:/run/uwsgi/app/searx/socket|uwsgi://uwsgi-uds-searx/
|
||||
</Location>
|
||||
</LocationMatch>
|
||||
|
||||
|
||||
<Location /searx/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user