tidy up caddy config

This commit is contained in:
2024-12-09 09:17:33 +01:00
parent 1826dd9b4c
commit fc0acdb3ad
7 changed files with 88 additions and 100 deletions

View File

@@ -9,7 +9,7 @@ geo.{$SUBDOMAIN}.{$DOMAIN} {
# trusted_proxies: Trust 'X-Forwarded-For' header_up if trusted_proxies is also valid (see https://caddyserver.com/docs/caddyfile/options#trusted-proxies)
# default: trusted_proxies
@geofilter expression ({geoip2.country_code} == "NL")
@geofilter expression ({geoip2.country_code} != "FR")
route @geofilter {
reverse_proxy host:12345 {