Add X-Real-IP to Caddy for SearXNG

This commit is contained in:
Sam A. 2023-10-01 15:52:31 +02:00
parent 3629b3659a
commit df0df716b8
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA

View file

@ -133,6 +133,7 @@ www.{{ services.samsapti_dev.domain }} {
reverse_proxy searxng:8080 { reverse_proxy searxng:8080 {
header_up X-Forwarded-Port {http.request.port} header_up X-Forwarded-Port {http.request.port}
header_up X-Forwarded-Proto {http.request.scheme} header_up X-Forwarded-Proto {http.request.scheme}
header_up X-Real-IP {remote_host}
} }
} }
} }