Replaced httpChallenge with tlsChallenge

Co-authored-by: Marco Nenciarini <mnencia@kcore.it>
This commit is contained in:
Olivier Wenger 2022-02-02 23:44:46 +01:00 committed by Olivier Wenger
parent 285e115475
commit 23d17382ac

View File

@ -25,8 +25,7 @@ spec:
- "--entryPoints.web.forwardedHeaders.trustedIPs=127.0.0.1/32,10.0.0.0/8" - "--entryPoints.web.forwardedHeaders.trustedIPs=127.0.0.1/32,10.0.0.0/8"
- "--entryPoints.websecure.forwardedHeaders.trustedIPs=127.0.0.1/32,10.0.0.0/8" - "--entryPoints.websecure.forwardedHeaders.trustedIPs=127.0.0.1/32,10.0.0.0/8"
%{ if traefik_acme_tls ~} %{ if traefik_acme_tls ~}
- "--certificatesresolvers.le.acme.httpchallenge=true" - "--certificatesresolvers.le.acme.tlschallenge=true"
- "--certificatesresolvers.le.acme.httpchallenge.entrypoint=web"
- "--certificatesresolvers.le.acme.email=${traefik_acme_email}" - "--certificatesresolvers.le.acme.email=${traefik_acme_email}"
- "--certificatesresolvers.le.acme.storage=/data/acme.json" - "--certificatesresolvers.le.acme.storage=/data/acme.json"
%{ endif ~} %{ endif ~}