Architecture¶
Herein you will find some hints and suggestions about typical architectures of SearXNG infrastructures.
uWSGI Setup¶
We start with a reference setup for public SearXNG instances which can be build up and maintained by the scripts from our DevOps tooling box.
The reference installation activates server.limiter
, server.image_proxy
and ui.static_use_hash
(/etc/searxng/settings.yml)
# SearXNG settings
use_default_settings: true
general:
debug: false
instance_name: "SearXNG"
search:
safe_search: 2
autocomplete: 'duckduckgo'
server:
# Is overwritten by ${SEARXNG_SECRET}
secret_key: "ultrasecretkey"
limiter: true
image_proxy: true
# public URL of the instance, to ensure correct inbound links. Is overwritten
# by ${SEARXNG_URL}.
# base_url: http://example.com/location
redis:
# URL to connect redis database. Is overwritten by ${SEARXNG_REDIS_URL}.
url: unix:///usr/local/searxng-redis/run/redis.sock?db=0
ui:
static_use_hash: true