Compare commits

...

3 Commits

Author SHA1 Message Date
Alexandre Flament 070b02e6da
fix URL to documentation in searxng/settings.yml
Close #173
9 months ago
Alexandre Flament 9e42027c31
Merge pull request #162 from ChillyKitty/patch-1
Update Caddyfile to Add X-Real-IP to fix bot detection
9 months ago
ChillyKitty 8b2d017136
Update Caddyfile to Add X-Real-IP to fix bot detection
Bot detection complains about not having X-Real-IP which is required https://docs.searxng.org/src/searx.botdetection.html#id4 this adds the header and fixes the problem for me.
12 months ago

@ -92,6 +92,7 @@
reverse_proxy localhost:8080 {
header_up X-Forwarded-Port {http.request.port}
header_up X-Forwarded-Proto {http.request.scheme}
header_up X-Real-IP {remote_host}
}
}

@ -1,4 +1,4 @@
# see https://docs.searxng.org/admin/engines/settings.html#use-default-settings
# see https://docs.searxng.org/admin/settings/settings.html#settings-use-default-settings
use_default_settings: true
server:
# base_url is defined in the SEARXNG_BASE_URL environment variable, see .env and docker-compose.yml

Loading…
Cancel
Save