Changed priority values
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 54s
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:36:12 +01:00
parent ebeebd8950
commit c7ba97cd55
2 changed files with 6 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ tcp:
service: nginx-legacy-service-secure
tls:
passthrough: true
priority: 1
priority: 10
entryPoints:
- "https"
@@ -45,7 +45,7 @@ http:
entryPoints:
- "web"
service: "acme-http@internal" # This is the internal service name
priority: 10001 # High priority to ensure it wins
priority: 1000 # High priority to ensure it wins
# 2. THE HTTP CATCH-ALL (Sends other ACME and HTTP to Nginx)
nginx-legacy-router:
@@ -53,7 +53,7 @@ http:
service: nginx-legacy-service
entryPoints:
- "web"
priority: 100
priority: 10
services:
nginx-legacy-service:

View File

@@ -1,5 +1,5 @@
services:
traefik5:
traefik6:
image: "traefik:v3.6@sha256:67622638cd88dbfcfba40159bc652ecf0aea0e032f8a3c7e3134ae7c037b9910"
restart: unless-stopped
security_opt:
@@ -38,8 +38,9 @@ services:
labels:
- "env=${ENV}"
- "traefik.enable=true"
- "traefik.http.routers.whoami.priority=10000"
- "traefik.http.routers.whoami.priority=100"
- "traefik.http.routers.whoami.rule=Host(`test-whoami.${DOMAIN}`)"
- "traefik.http.routers.https.priority=100"
- "traefik.http.routers.https.rule=Host(`test-whoami.${DOMAIN}`)"
- "traefik.http.routers.whoami.entrypoints=web"
- traefik.http.routers.https.entrypoints=https