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.
pull/162/head
ChillyKitty 11 months ago committed by GitHub
parent e76656a162
commit 8b2d017136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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}
}
}

Loading…
Cancel
Save