Did some changes
All checks were successful
Remote Deployment Pipeline / Prepare Context (pull_request) Successful in 3s
Remote Deployment Pipeline / Deploy (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Deploy (Dev/Preview) (pull_request) Successful in 51s
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-20 14:49:11 +01:00
parent cee7c52641
commit 291d4a77ee
2 changed files with 3 additions and 18 deletions

View File

@@ -1,22 +1,5 @@
# ./traefik/forward-to-legacy-nginx.yaml
# static configuration (traefik.yml)
# 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
tcp:
routers:
# Router for LEGACY HTTPS (Passthrough)

View File

@@ -1,5 +1,5 @@
services:
traefik8:
traefik9:
image: "traefik:v3.6@sha256:67622638cd88dbfcfba40159bc652ecf0aea0e032f8a3c7e3134ae7c037b9910"
restart: unless-stopped
security_opt:
@@ -19,6 +19,7 @@ services:
- "--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:
@@ -45,6 +46,7 @@ services:
- "traefik.http.routers.whoami.entrypoints=web"
- traefik.http.routers.https.entrypoints=https
- traefik.http.routers.https.tls=true
- traefik.http.routers.https.tls.certresolver=letsencrypt
networks:
proxy:
legacy-nginx: