Setup env #24
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user