Compare commits
2 Commits
291d4a77ee
...
8ce3bd28db
| Author | SHA1 | Date | |
|---|---|---|---|
| 8ce3bd28db | |||
| bc665e4649 |
@@ -2,12 +2,11 @@
|
||||
|
||||
tcp:
|
||||
routers:
|
||||
# Router for LEGACY HTTPS (Passthrough)
|
||||
# Router for HTTPS (Passthrough)
|
||||
nginx-legacy-router-secure:
|
||||
# DO NOT use "*". List the domains that Nginx manages itself.
|
||||
# If you use "*", Traefik's own HTTPS domains will not work.
|
||||
rule: "HostSNI(`excali.kovagoadi.hu`) || HostSNI(`another-legacy.hu`)"
|
||||
rule: "HostSNI(`*`)"
|
||||
service: nginx-legacy-service-secure
|
||||
# Passthrough must be true for SSL to reach Nginx encrypted
|
||||
tls:
|
||||
passthrough: true
|
||||
priority: 10
|
||||
@@ -15,9 +14,11 @@ tcp:
|
||||
- "https"
|
||||
|
||||
services:
|
||||
# Service defining the external IP
|
||||
nginx-legacy-service-secure:
|
||||
loadBalancer:
|
||||
servers:
|
||||
# This is the actual external IP and Port of your Nginx
|
||||
- address: "webserver:443"
|
||||
|
||||
http:
|
||||
@@ -34,9 +35,10 @@ http:
|
||||
nginx-legacy-router:
|
||||
rule: "HostRegexp(`^.+$`)"
|
||||
service: nginx-legacy-service
|
||||
# Low priority ensures specific containers are handled first, but before the default acme-handler
|
||||
priority: 90
|
||||
entryPoints:
|
||||
- "web"
|
||||
priority: 90
|
||||
|
||||
services:
|
||||
nginx-legacy-service:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
services:
|
||||
traefik9:
|
||||
traefik10:
|
||||
image: "traefik:v3.6@sha256:67622638cd88dbfcfba40159bc652ecf0aea0e032f8a3c7e3134ae7c037b9910"
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
|
||||
Reference in New Issue
Block a user