diff options
| author | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-07-03 00:40:17 +0900 |
|---|---|---|
| committer | yyamashita <yyamashita@hetzner.yyamashita.com> | 2026-07-03 00:40:17 +0900 |
| commit | c39ec05968656aaa893ed7e4b20b7d5f5ccbe5b5 (patch) | |
| tree | 43547361706d8a696a05996fa944b45cbb92a8be /caddy/Caddyfile | |
| parent | 39d30042f0c9925ad3ba446311128c7e530680ce (diff) | |
Add GeoIP Japan-only filter to forward proxy
Uses caddy-maxmind-geoip module to restrict proxy access to JP IPs.
DB file (GeoLite2-Country.mmdb) must be placed manually on the server.
Filter is inactive when DB file is absent, allowing safe rollout.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'caddy/Caddyfile')
| -rw-r--r-- | caddy/Caddyfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/caddy/Caddyfile b/caddy/Caddyfile index d5624c5..9aff8c9 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -1,5 +1,6 @@ { order forward_proxy before redir + order geoip before forward_proxy } golive.yyamashita.com { |
