update caddy config for fixing get real ip address from ipv6 addresses

This commit is contained in:
Simon Rieger 2025-02-05 16:30:53 +01:00
parent 27311a7a32
commit f5c71a961b

View file

@ -24,8 +24,9 @@ services:
caddy: ip.brothertec.eu
caddy.@geofilter.maxmind_geolocation.db_path: /GeoIP/GeoLite2-Country.mmdb
caddy.@geofilter.maxmind_geolocation.deny_countries: RU CN
caddy.reverse_proxy: "@geofilter {{upstreams 8080}}"
caddy.reverse_proxy.header_up: |
caddy.route.crowdsec: ""
caddy.route.reverse_proxy: "@geofilter {{upstreams 8080}}"
caddy.route.reverse_proxy.header_up: |
X-Real-IP {remote_host}
caddy.encode: "zstd gzip"
caddy.log: ""