Configured some changes
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user