diff --git a/actions/searx b/actions/searx
index 770fcc410..b6e41796f 100755
--- a/actions/searx
+++ b/actions/searx
@@ -101,6 +101,7 @@ def subcommand_setup(_):
_generate_secret_key(settings)
_set_title(settings)
_set_timeout(settings)
+ write_settings(settings)
action_utils.service_restart('uwsgi')
diff --git a/data/etc/apache2/conf-available/searx-freedombox.conf b/data/etc/apache2/conf-available/searx-freedombox.conf
index 24a1b723e..f9cde7c7c 100644
--- a/data/etc/apache2/conf-available/searx-freedombox.conf
+++ b/data/etc/apache2/conf-available/searx-freedombox.conf
@@ -1,3 +1,13 @@
+# This exclusion rule is to allow Searx to be added as a search engine in Firefox.
+
+ Satisfy Any
+ Allow from all
+ AuthType None
+ Require all granted
+ ProxyPass unix:/run/uwsgi/app/searx/socket|uwsgi://uwsgi-uds-searx/
+
+
+
Include includes/freedombox-single-sign-on.conf
@@ -7,4 +17,3 @@
ProxyPass unix:/run/uwsgi/app/searx/socket|uwsgi://uwsgi-uds-searx/
-