Use propagation wait instead of disabling ACME DNS check
Disabling the propagation check caused lego to submit to Let's Encrypt before Cloudflare's authoritative nameservers had the TXT record. A 30s wait gives Cloudflare time to propagate. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3c0746e23b
commit
beadcc5397
1 changed files with 2 additions and 1 deletions
|
|
@ -62,7 +62,8 @@ in
|
|||
domain = "*.nordhammer.it";
|
||||
extraDomainNames = [ "nordhammer.it" ];
|
||||
dnsProvider = "cloudflare";
|
||||
dnsPropagationCheck = false;
|
||||
extraLegoRunFlags = [ "--dns.propagation-wait" "30s" ];
|
||||
extraLegoRenewFlags = [ "--dns.propagation-wait" "30s" ];
|
||||
credentialFiles = {
|
||||
"CF_DNS_API_TOKEN_FILE" = "/var/secrets/cloudflare-token";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue