Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

Merge pull request #226 from return42/hardening

Alexandre Flamented0db4d61a2e
diff --cc searx/settings.yml
index ec8d99d1b,0306f00bd..14610464f
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@@ -30,19 -27,18 +30,21 @@@ search
# max ban time in seconds after engine errors
max_ban_time_on_fail: 120
# remove format to deny access, use lower case.
- formats: [html, csv, json, rss]
+ # formats: [html, csv, json, rss]
+ formats:
+ - html
server:
+ # If you change port, bind_address or base_url don't forget to rebuild
+ # instance's enviroment (make buildenv)
port: 8888
- # address to listen on
bind_address: "127.0.0.1"
+ base_url: false # Possible values: false or "https://example.org/location".
+
+ # If your instance owns a /etc/searx/settings.yml file, then set the following
+ # values there.
+
secret_key: "ultrasecretkey" # change this!
- # Set custom base_url. Possible values:
- # false or "https://your.custom.host/location/"
- base_url: false
# Proxying image results through searx
image_proxy: false
# 1.0 and 1.1 are supported