update caddy config
This commit is contained in:
parent
636c10face
commit
27311a7a32
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ services:
|
||||||
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.reverse_proxy: "@geofilter {{upstreams 8080}}"
|
||||||
|
caddy.reverse_proxy.header_up: |
|
||||||
|
X-Real-IP {remote_host}
|
||||||
caddy.encode: "zstd gzip"
|
caddy.encode: "zstd gzip"
|
||||||
caddy.log: ""
|
caddy.log: ""
|
||||||
caddy.log.output: "file /logs/ip.brothertec.eu.log"
|
caddy.log.output: "file /logs/ip.brothertec.eu.log"
|
||||||
|
|
Loading…
Add table
Reference in a new issue