2019-04-05 09:32:04 +00:00
|
|
|
# Enable ACME (Let's Encrypt): automatic SSL.
|
2019-07-19 09:52:04 +00:00
|
|
|
[certificatesResolvers.sample.acme]
|
2019-04-05 09:32:04 +00:00
|
|
|
|
2019-07-19 09:52:04 +00:00
|
|
|
# Email address used for registration.
|
2019-04-05 09:32:04 +00:00
|
|
|
#
|
|
|
|
# Required
|
|
|
|
#
|
2019-07-19 09:52:04 +00:00
|
|
|
email = "test@traefik.io"
|
2019-04-05 09:32:04 +00:00
|
|
|
|
2019-07-19 09:52:04 +00:00
|
|
|
# File or key used for certificates storage.
|
2019-04-05 09:32:04 +00:00
|
|
|
#
|
|
|
|
# Required
|
|
|
|
#
|
2019-07-19 09:52:04 +00:00
|
|
|
storage = "acme.json"
|
2019-04-05 09:32:04 +00:00
|
|
|
|
2019-07-19 09:52:04 +00:00
|
|
|
# CA server to use.
|
|
|
|
# Uncomment the line to use Let's Encrypt's staging server,
|
|
|
|
# leave commented to go to prod.
|
2019-04-05 09:32:04 +00:00
|
|
|
#
|
|
|
|
# Optional
|
2019-07-19 09:52:04 +00:00
|
|
|
# Default: "https://acme-v02.api.letsencrypt.org/directory"
|
2019-04-05 09:32:04 +00:00
|
|
|
#
|
2019-07-19 09:52:04 +00:00
|
|
|
# caServer = "https://acme-staging-v02.api.letsencrypt.org/directory"
|
2019-04-05 09:32:04 +00:00
|
|
|
|
2019-07-19 09:52:04 +00:00
|
|
|
# KeyType to use.
|
2019-04-05 09:32:04 +00:00
|
|
|
#
|
|
|
|
# Optional
|
2019-07-19 09:52:04 +00:00
|
|
|
# Default: "RSA4096"
|
|
|
|
#
|
|
|
|
# Available values : "EC256", "EC384", "RSA2048", "RSA4096", "RSA8192"
|
2019-04-05 09:32:04 +00:00
|
|
|
#
|
2019-07-19 09:52:04 +00:00
|
|
|
# keyType = "RSA4096"
|
2019-04-05 09:32:04 +00:00
|
|
|
|
2019-07-19 09:52:04 +00:00
|
|
|
# Use a TLS-ALPN-01 ACME challenge.
|
2019-04-05 09:32:04 +00:00
|
|
|
#
|
2019-07-19 09:52:04 +00:00
|
|
|
# Optional (but recommended)
|
|
|
|
#
|
2019-12-13 14:46:06 +00:00
|
|
|
[certificatesResolvers.le.acme.tlsChallenge]
|
2019-07-19 09:52:04 +00:00
|
|
|
|
|
|
|
# Use a HTTP-01 ACME challenge.
|
2019-04-05 09:32:04 +00:00
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
#
|
2019-12-13 14:46:06 +00:00
|
|
|
# [certificatesResolvers.le.acme.httpChallenge]
|
2019-04-05 09:32:04 +00:00
|
|
|
|
2019-07-19 09:52:04 +00:00
|
|
|
# EntryPoint to use for the HTTP-01 challenges.
|
|
|
|
#
|
|
|
|
# Required
|
|
|
|
#
|
|
|
|
# entryPoint = "web"
|
|
|
|
|
|
|
|
# Use a DNS-01 ACME challenge rather than HTTP-01 challenge.
|
|
|
|
# Note: mandatory for wildcard certificate generation.
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
#
|
2019-12-13 14:46:06 +00:00
|
|
|
# [certificatesResolvers.le.acme.dnsChallenge]
|
2019-07-19 09:52:04 +00:00
|
|
|
|
|
|
|
# DNS provider used.
|
|
|
|
#
|
|
|
|
# Required
|
|
|
|
#
|
|
|
|
# provider = "digitalocean"
|
|
|
|
|
|
|
|
# By default, the provider will verify the TXT DNS challenge record before letting ACME verify.
|
|
|
|
# If delayBeforeCheck is greater than zero, this check is delayed for the configured duration in seconds.
|
|
|
|
# Useful if internal networks block external DNS queries.
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
# Default: 0
|
|
|
|
#
|
|
|
|
# delayBeforeCheck = 0
|
|
|
|
|
|
|
|
# Use following DNS servers to resolve the FQDN authority.
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
# Default: empty
|
|
|
|
#
|
|
|
|
# resolvers = ["1.1.1.1:53", "8.8.8.8:53"]
|
|
|
|
|
|
|
|
# Disable the DNS propagation checks before notifying ACME that the DNS challenge is ready.
|
|
|
|
#
|
|
|
|
# NOT RECOMMENDED:
|
|
|
|
# Increase the risk of reaching Let's Encrypt's rate limits.
|
|
|
|
#
|
|
|
|
# Optional
|
|
|
|
# Default: false
|
|
|
|
#
|
|
|
|
# disablePropagationCheck = true
|