Trying this out
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 48s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 2s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 48s
Remote Deployment Pipeline / Cleanup Preview (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Production) (pull_request) Has been skipped
This commit is contained in:
@@ -6,14 +6,16 @@ entryPoints:
|
||||
web:
|
||||
address: ":80" # or :898 in your case
|
||||
allowACMEByPass: true # <--- WITHOUT THIS, TRAEFIK ALWAYS WINS
|
||||
https:
|
||||
address: ":443"
|
||||
|
||||
certificatesResolvers:
|
||||
letsencrypt:
|
||||
acme:
|
||||
email: "kovagoadi@gmail.com"
|
||||
storage: "acme.json"
|
||||
# httpChallenge:
|
||||
# entryPoint: web
|
||||
httpChallenge:
|
||||
entryPoint: web
|
||||
|
||||
tcp:
|
||||
routers:
|
||||
@@ -57,6 +59,7 @@ http:
|
||||
- "web"
|
||||
priority: 1 # Will catch ACME for any domain NOT listed in the handler above
|
||||
|
||||
|
||||
services:
|
||||
nginx-legacy-service:
|
||||
loadBalancer:
|
||||
|
||||
@@ -12,14 +12,14 @@ services:
|
||||
- "--providers.docker.exposedbydefault=false"
|
||||
- "--providers.docker.network=proxy"
|
||||
- "--providers.docker.constraints=Label(`env`, `${ENV}`)"
|
||||
- "--entryPoints.web.address=:80"
|
||||
- "--entryPoints.https.address=:443"
|
||||
- "--entryPoints.web.allowacmebypass=true"
|
||||
- "--certificatesresolvers.letsencrypt.acme.httpchallenge=true"
|
||||
- "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"
|
||||
- "--certificatesresolvers.letsencrypt.acme.email=kovagoadi@gmail.com"
|
||||
- "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
|
||||
- "--certificatesResolvers.letsencrypt.acme.caServer=${CERTBOT_CA_RESOLVER}"
|
||||
# - "--entryPoints.web.address=:80"
|
||||
# - "--entryPoints.https.address=:443"
|
||||
# - "--entryPoints.web.allowacmebypass=true"
|
||||
# - "--certificatesresolvers.letsencrypt.acme.httpchallenge=true"
|
||||
# - "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"
|
||||
# - "--certificatesresolvers.letsencrypt.acme.email=kovagoadi@gmail.com"
|
||||
# - "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
|
||||
# - "--certificatesResolvers.letsencrypt.acme.caServer=${CERTBOT_CA_RESOLVER}"
|
||||
- "${TRAEFIK_LEGACY_OPT:-}"
|
||||
- "--providers.file.watch=true"
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user