Traefik wildcard certs
This commit is contained in:
parent
6ccc5a6bcf
commit
4b6c388ed9
@ -106,6 +106,8 @@ job "traefik" {
|
|||||||
[entryPoints.websecure.http.tls]
|
[entryPoints.websecure.http.tls]
|
||||||
<< if keyExists "traefik/acme/email" ->>
|
<< if keyExists "traefik/acme/email" ->>
|
||||||
certResolver = "letsEncrypt"
|
certResolver = "letsEncrypt"
|
||||||
|
[[entryPoints.websecure.http.tls.domains]]
|
||||||
|
main = "*.<< keyOrDefault "global/base_hostname" "${var.base_hostname}" >>"
|
||||||
<< end ->>
|
<< end ->>
|
||||||
|
|
||||||
[entryPoints.metrics]
|
[entryPoints.metrics]
|
||||||
@ -137,7 +139,7 @@ job "traefik" {
|
|||||||
<< if keyExists "traefik/acme/email" ->>
|
<< if keyExists "traefik/acme/email" ->>
|
||||||
[certificatesResolvers.letsEncrypt.acme]
|
[certificatesResolvers.letsEncrypt.acme]
|
||||||
email = "<< key "traefik/acme/email" >>"
|
email = "<< key "traefik/acme/email" >>"
|
||||||
storage = "acme.json"
|
storage = "/secrets/acme.json"
|
||||||
[certificatesResolvers.letsEncrypt.acme.dnsChallenge]
|
[certificatesResolvers.letsEncrypt.acme.dnsChallenge]
|
||||||
provider = "cloudflare"
|
provider = "cloudflare"
|
||||||
resolvers = ["1.1.1.1:53", "8.8.8.8:53"]
|
resolvers = ["1.1.1.1:53", "8.8.8.8:53"]
|
||||||
|
Loading…
Reference in New Issue
Block a user