all: caddy - try to find client ips
This commit is contained in:
parent
63f58c427e
commit
58a0a5a6e1
1 changed files with 5 additions and 0 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue