EUGENIO SOUZA CARVALHO 4 years ago
parent
commit
a8f465ac2b
1 changed files with 4 additions and 3 deletions
  1. 4 3
      020-deployment.yaml

+ 4 - 3
020-deployment.yaml

@@ -61,12 +61,13 @@ spec:
           - --entryPoints.traefik.address=:8100
           - --entryPoints.web.address=:80
           - --entryPoints.websecure.address=:443
+          - "--acme.domains=*.eugeniocarvalho.dev,eugeniocarvalho.dev"
 
           # permanent redirecting of all requests on http (80) to https (443)
           - --entrypoints.web.http.redirections.entryPoint.to=websecure
           - --entrypoints.websecure.http.tls.certResolver=default
-          - --entrypoints.websecure.http.tls.domains[0].main=eugeniocarvalho.dev
-          - --entrypoints.websecure.http.tls.domains[0].sans=*.eugeniocarvalho.dev
+          # - --entrypoints.websecure.http.tls.domains[0].main=*.eugeniocarvalho.dev
+          # - --entrypoints.websecure.http.tls.domains[0].sans=eugeniocarvalho.dev
           #- --entrypoints.websecure.http.tls.certResolver=letsencrypt
 
           # Let's Encrypt Configurtion:
@@ -79,7 +80,7 @@ spec:
           # - --certificatesresolvers.default.acme.dnsChallenge.provider=duckdns
           - --certificatesresolvers.default.acme.dnsChallenge=true
           - --certificatesresolvers.default.acme.dnsChallenge.provider=gcloud
-          - --certificatesresolvers.default.acme.dnsChallenge.delaybeforecheck=180
+          - --certificatesresolvers.default.acme.dnsChallenge.delaybeforecheck=0
           - --certificatesresolvers.default.acme.dnsChallenge.resolvers=1.1.1.1:53,8.8.8.8:53
           # - --certificatesresolvers.default.acme.dnsChallenge.entryPoint=http
           - --ping=true