|
@@ -65,8 +65,8 @@ spec:
|
|
|
# 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:
|
|
@@ -76,7 +76,7 @@ spec:
|
|
|
- --certificatesresolvers.default.acme.caserver=https://acme-staging-v02.api.letsencrypt.org/directory
|
|
|
- --certificatesresolvers.default.acme.storage=acme.json
|
|
|
|
|
|
- # - --certificatesresolvers.default.acme.tlschallenge=true
|
|
|
+ - --certificatesresolvers.default.acme.dnschallenge=true
|
|
|
- --certificatesresolvers.default.acme.dnsChallenge.provider=gcloud
|
|
|
- --certificatesresolvers.default.acme.dnschallenge.delaybeforecheck=0
|
|
|
- --certificatesresolvers.default.acme.dnsChallenge.resolvers=1.1.1.1:53,8.8.8.8:53
|