mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 12:31:25 +01:00
a70b9b9f61
Since #2291 is merged, it is recommend to use:: use_default_settings=True 1. Add a template file use_default_settings.yml:: SEARX_SETTINGS_TEMPLATE="${REPO_ROOT}/utils/templates/etc/searx/use_default_settings.yml" 2. In Chapter "Configuration" recommend to make use of 'use_default_settings=True' and describe it 3. Rewrite of docs/admin/settings.rst - move chapter 'settings.yml location' to the top - update and split chapter 'Global Settings' 4. Add environment SEARX_SETTINGS_TEMPLATE to .config.sh 5. Use environment $SEARX_SETTINGS_TEMPLATE in the utils/searx.sh script Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
23 lines
971 B
YAML
23 lines
971 B
YAML
use_default_settings: True
|
|
|
|
general:
|
|
debug : False # Debug mode, only for development
|
|
instance_name : "searx" # displayed name
|
|
|
|
search:
|
|
safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict
|
|
autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off by default
|
|
default_lang : "" # Default search language - leave blank to detect from browser information or use codes from 'languages.py'
|
|
|
|
server:
|
|
port : 8888
|
|
bind_address : "127.0.0.1" # address to listen on
|
|
secret_key : "ultrasecretkey" # change this!
|
|
base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/"
|
|
image_proxy : False # Proxying image results through searx
|
|
|
|
# uncomment below section if you have running morty proxy
|
|
#result_proxy:
|
|
# url : http://127.0.0.1:3000/
|
|
# key : !!binary "your_morty_proxy_key"
|