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 service: nginx-legacy-service-secure
tls: tls:
passthrough: true passthrough: true
priority: 1 priority: 10
entryPoints: entryPoints:
- "https" - "https"
@@ -45,7 +45,7 @@ http:
entryPoints: entryPoints:
- "web" - "web"
service: "acme-http@internal" # This is the internal service name 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) # 2. THE HTTP CATCH-ALL (Sends other ACME and HTTP to Nginx)
nginx-legacy-router: nginx-legacy-router:
@@ -53,7 +53,7 @@ http:
service: nginx-legacy-service service: nginx-legacy-service
entryPoints: entryPoints:
- "web" - "web"
priority: 100 priority: 10
services: services:
nginx-legacy-service: nginx-legacy-service:

View File

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