diff --git a/hosts/shared/caddy.nix b/hosts/shared/caddy.nix index 0ee9371..7e1389a 100644 --- a/hosts/shared/caddy.nix +++ b/hosts/shared/caddy.nix @@ -18,6 +18,11 @@ in email = "admin@acomputer.lol"; globalConfig = '' acme_dns digitalocean {env.DO_API_TOKEN} + servers { + trusted_proxies static private_ranges 10.10.10.0/24 fd7c:585c:c4ae::0/64 + client_ip_headers X-Forwarded-For X-Real-IP + metrics + } ''; logFormat = logFormat "caddy_main"; };