mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-29 10:11:49 -04:00
MINOR: acme: set the default dns-delay to 30s
Set the default dns-delay to 30s so it can be more efficient with fast DNS providers. The dns-timeout is set to 600s by default so this does not have a big impact, it will only do more check and allow the challenge to be started more quickly.
This commit is contained in:
parent
10ce550b47
commit
7c3fe4d0c0
2 changed files with 2 additions and 2 deletions
|
|
@ -32314,7 +32314,7 @@ directory <string>
|
|||
dns-delay <time>
|
||||
When "challenge-ready" includes "dns", configure the delay before the first
|
||||
DNS resolution attempt and between retries. The value is a time expressed in
|
||||
HAProxy time format (e.g. "5m", "300s"). Default is 300 seconds.
|
||||
HAProxy time format (e.g. "5m", "300s"). Default is 30 seconds.
|
||||
|
||||
Note that the resolution goes through the configured "default" resolvers
|
||||
section, not the authoritative name servers. Results may therefore still be
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ struct acme_cfg *new_acme_cfg(const char *name)
|
|||
ret->linenum = 0;
|
||||
|
||||
ret->challenge = strdup("http-01"); /* default value */
|
||||
ret->dns_delay = 300; /* default DNS re-trigger delay in seconds */
|
||||
ret->dns_delay = 30; /* default DNS re-trigger delay in seconds */
|
||||
ret->dns_timeout = 600; /* default DNS retry timeout */
|
||||
|
||||
/* The default generated keys are EC-384 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue