all: caddy - try to find client ips

This commit is contained in:
Adithya 2024-09-15 16:58:33 +05:30
parent 63f58c427e
commit 58a0a5a6e1
Signed by: adtya
GPG key ID: B8857BFBA2C47B9C

View file

@ -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";
};