Add X-Real-IP to Caddy for SearXNG
This commit is contained in:
parent
3629b3659a
commit
df0df716b8
|
@ -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}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue