update caddy config for fixing get real ip address from ipv6 addresses
This commit is contained in:
parent
27311a7a32
commit
f5c71a961b
1 changed files with 3 additions and 2 deletions
|
@ -24,8 +24,9 @@ services:
|
||||||
caddy: ip.brothertec.eu
|
caddy: ip.brothertec.eu
|
||||||
caddy.@geofilter.maxmind_geolocation.db_path: /GeoIP/GeoLite2-Country.mmdb
|
caddy.@geofilter.maxmind_geolocation.db_path: /GeoIP/GeoLite2-Country.mmdb
|
||||||
caddy.@geofilter.maxmind_geolocation.deny_countries: RU CN
|
caddy.@geofilter.maxmind_geolocation.deny_countries: RU CN
|
||||||
caddy.reverse_proxy: "@geofilter {{upstreams 8080}}"
|
caddy.route.crowdsec: ""
|
||||||
caddy.reverse_proxy.header_up: |
|
caddy.route.reverse_proxy: "@geofilter {{upstreams 8080}}"
|
||||||
|
caddy.route.reverse_proxy.header_up: |
|
||||||
X-Real-IP {remote_host}
|
X-Real-IP {remote_host}
|
||||||
caddy.encode: "zstd gzip"
|
caddy.encode: "zstd gzip"
|
||||||
caddy.log: ""
|
caddy.log: ""
|
||||||
|
|
Loading…
Reference in a new issue