mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
searx: Allow Searx to be added as a search engine to Firefox
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
05715b4e64
commit
26a53e6649
@ -101,6 +101,7 @@ def subcommand_setup(_):
|
|||||||
_generate_secret_key(settings)
|
_generate_secret_key(settings)
|
||||||
_set_title(settings)
|
_set_title(settings)
|
||||||
_set_timeout(settings)
|
_set_timeout(settings)
|
||||||
|
write_settings(settings)
|
||||||
|
|
||||||
action_utils.service_restart('uwsgi')
|
action_utils.service_restart('uwsgi')
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,13 @@
|
|||||||
|
# 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)">
|
||||||
|
Satisfy Any
|
||||||
|
Allow from all
|
||||||
|
AuthType None
|
||||||
|
Require all granted
|
||||||
|
ProxyPass unix:/run/uwsgi/app/searx/socket|uwsgi://uwsgi-uds-searx/
|
||||||
|
</Location>
|
||||||
|
|
||||||
|
|
||||||
<Location /searx/>
|
<Location /searx/>
|
||||||
Include includes/freedombox-single-sign-on.conf
|
Include includes/freedombox-single-sign-on.conf
|
||||||
|
|
||||||
@ -7,4 +17,3 @@
|
|||||||
|
|
||||||
ProxyPass unix:/run/uwsgi/app/searx/socket|uwsgi://uwsgi-uds-searx/
|
ProxyPass unix:/run/uwsgi/app/searx/socket|uwsgi://uwsgi-uds-searx/
|
||||||
</Location>
|
</Location>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user