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:
|
web:
|
||||||
address: ":80" # or :898 in your case
|
address: ":80" # or :898 in your case
|
||||||
allowACMEByPass: true # <--- WITHOUT THIS, TRAEFIK ALWAYS WINS
|
allowACMEByPass: true # <--- WITHOUT THIS, TRAEFIK ALWAYS WINS
|
||||||
|
https:
|
||||||
|
address: ":443"
|
||||||
|
|
||||||
certificatesResolvers:
|
certificatesResolvers:
|
||||||
letsencrypt:
|
letsencrypt:
|
||||||
acme:
|
acme:
|
||||||
email: "kovagoadi@gmail.com"
|
email: "kovagoadi@gmail.com"
|
||||||
storage: "acme.json"
|
storage: "acme.json"
|
||||||
# httpChallenge:
|
httpChallenge:
|
||||||
# entryPoint: web
|
entryPoint: web
|
||||||
|
|
||||||
tcp:
|
tcp:
|
||||||
routers:
|
routers:
|
||||||
@@ -57,6 +59,7 @@ http:
|
|||||||
- "web"
|
- "web"
|
||||||
priority: 1 # Will catch ACME for any domain NOT listed in the handler above
|
priority: 1 # Will catch ACME for any domain NOT listed in the handler above
|
||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nginx-legacy-service:
|
nginx-legacy-service:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
|
|||||||
@@ -12,14 +12,14 @@ services:
|
|||||||
- "--providers.docker.exposedbydefault=false"
|
- "--providers.docker.exposedbydefault=false"
|
||||||
- "--providers.docker.network=proxy"
|
- "--providers.docker.network=proxy"
|
||||||
- "--providers.docker.constraints=Label(`env`, `${ENV}`)"
|
- "--providers.docker.constraints=Label(`env`, `${ENV}`)"
|
||||||
- "--entryPoints.web.address=:80"
|
# - "--entryPoints.web.address=:80"
|
||||||
- "--entryPoints.https.address=:443"
|
# - "--entryPoints.https.address=:443"
|
||||||
- "--entryPoints.web.allowacmebypass=true"
|
# - "--entryPoints.web.allowacmebypass=true"
|
||||||
- "--certificatesresolvers.letsencrypt.acme.httpchallenge=true"
|
# - "--certificatesresolvers.letsencrypt.acme.httpchallenge=true"
|
||||||
- "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"
|
# - "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"
|
||||||
- "--certificatesresolvers.letsencrypt.acme.email=kovagoadi@gmail.com"
|
# - "--certificatesresolvers.letsencrypt.acme.email=kovagoadi@gmail.com"
|
||||||
- "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
|
# - "--certificatesresolvers.letsencrypt.acme.storage=/letsencrypt/acme.json"
|
||||||
- "--certificatesResolvers.letsencrypt.acme.caServer=${CERTBOT_CA_RESOLVER}"
|
# - "--certificatesResolvers.letsencrypt.acme.caServer=${CERTBOT_CA_RESOLVER}"
|
||||||
- "${TRAEFIK_LEGACY_OPT:-}"
|
- "${TRAEFIK_LEGACY_OPT:-}"
|
||||||
- "--providers.file.watch=true"
|
- "--providers.file.watch=true"
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
Reference in New Issue
Block a user