github zhangjiayin/caddy-geoip2 v1.4.0

one hour ago

Client IP resolution

GeoIP lookups in the default trusted_proxies mode now use Caddy's resolved client IP. This follows the server's trusted_proxies, client_ip_headers, and trusted_proxies_strict settings. See PR #23.

Upgrading from v1.3.x

Existing configurations can resolve a different GeoIP country or region when Caddy selects a different address from the first X-Forwarded-For entry. If you route requests by geography, verify the results with your proxy setup before rollout. Enable trusted_proxies_strict on the Caddy server when your proxies append addresses to X-Forwarded-For. See the Caddy trusted proxy options.

Full changelog

Don't miss a new caddy-geoip2 release

NewReleases is sending notifications on new releases.