From 8b2d01713655a4b2c74776401572781f57d00e28 Mon Sep 17 00:00:00 2001 From: ChillyKitty <137003819+ChillyKitty@users.noreply.github.com> Date: Tue, 20 Jun 2023 02:45:04 +0000 Subject: [PATCH] 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. --- Caddyfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Caddyfile b/Caddyfile index 24c40aa..dea6806 100644 --- a/Caddyfile +++ b/Caddyfile @@ -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} } }