Trying this config
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 46s
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:
2025-12-19 20:17:12 +01:00
parent 799cf8c341
commit e039bfed6d
2 changed files with 6 additions and 3 deletions

View File

@@ -1,9 +1,13 @@
# ./traefik/forward-to-legacy-nginx.yaml
# static configuration (traefik.yml)
entryPoints:
web:
# Essential: Allows your routers to intercept /.well-known/acme-challenge/
allowACMEByPass: true
address: ":80" # or :898 in your case
allowACMEByPass: true # <--- WITHOUT THIS, TRAEFIK ALWAYS WINS
tcp:
routers:

View File

@@ -12,7 +12,6 @@ services:
- "--providers.docker.exposedbydefault=false"
- "--providers.docker.network=proxy"
- "--providers.docker.constraints=Label(`env`, `${ENV}`)"
- "--entryPoints.web.address=:80"
- "--entryPoints.https.address=:443"
- "--certificatesresolvers.letsencrypt.acme.httpchallenge=true"
- "--certificatesresolvers.letsencrypt.acme.httpchallenge.entrypoint=web"