summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2023-02-17 12:08:58 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2023-02-17 12:08:58 +0100
commit5820dc78ce3b60aaf686959e5328542ff9bd628e (patch)
tree50cb67b437f00cde92759c5fee11f2062a048e0a /searx
parentb22355503f5de0a3331dcc9a067474d9ee80599e (diff)
downloadsearxng-5820dc78ce3b60aaf686959e5328542ff9bd628e.tar.gz
searxng-5820dc78ce3b60aaf686959e5328542ff9bd628e.zip
[doc] slight improvements to the doc of the settings (base_url)
Closes: https://github.com/searxng/searxng/issues/2190 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx')
-rw-r--r--searx/settings.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/searx/settings.yml b/searx/settings.yml
index b4d7f03a5..14a87b769 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -1,5 +1,5 @@
general:
- # Debug mode, only for development
+ # Debug mode, only for development. Is overwritten by ${SEARXNG_DEBUG}
debug: false
# displayed name
instance_name: "SearXNG"
@@ -66,16 +66,19 @@ search:
server:
# If you change port, bind_address or base_url don't forget to rebuild
- # instance's environment (make buildenv)
+ # instance's environment (make buildenv). Is overwritten by ${SEARXNG_PORT}
+ # and ${SEARXNG_BIND_ADDRESS}
port: 8888
bind_address: "127.0.0.1"
- base_url: false # Possible values: false or "https://example.org/location".
+ # public URL of the instance, to ensure correct inbound links. Is overwritten
+ # by ${SEARXNG_URL}.
+ base_url: false # "http://example.com/location"
limiter: false # rate limit the number of request on the instance, block some bots
# If your instance owns a /etc/searxng/settings.yml file, then set the following
# values there.
- secret_key: "ultrasecretkey" # change this!
+ secret_key: "ultrasecretkey" # Is overwritten by ${SEARXNG_SECRET}
# Proxying image results through searx
image_proxy: false
# 1.0 and 1.1 are supported
@@ -91,6 +94,7 @@ server:
Referrer-Policy: no-referrer
redis:
+ # URL to connect redis database. Is overwritten by ${SEARXNG_REDIS_URL}.
# https://redis-py.readthedocs.io/en/stable/connections.html#redis.client.Redis.from_url
url: false