Configured some changes
This commit is contained in:
@@ -2,12 +2,11 @@
|
|||||||
|
|
||||||
tcp:
|
tcp:
|
||||||
routers:
|
routers:
|
||||||
# Router for LEGACY HTTPS (Passthrough)
|
# Router for HTTPS (Passthrough)
|
||||||
nginx-legacy-router-secure:
|
nginx-legacy-router-secure:
|
||||||
# DO NOT use "*". List the domains that Nginx manages itself.
|
rule: "HostSNI(`*`)"
|
||||||
# If you use "*", Traefik's own HTTPS domains will not work.
|
|
||||||
rule: "HostSNI(`excali.kovagoadi.hu`) || HostSNI(`another-legacy.hu`)"
|
|
||||||
service: nginx-legacy-service-secure
|
service: nginx-legacy-service-secure
|
||||||
|
# Passthrough must be true for SSL to reach Nginx encrypted
|
||||||
tls:
|
tls:
|
||||||
passthrough: true
|
passthrough: true
|
||||||
priority: 10
|
priority: 10
|
||||||
@@ -15,9 +14,11 @@ tcp:
|
|||||||
- "https"
|
- "https"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
# Service defining the external IP
|
||||||
nginx-legacy-service-secure:
|
nginx-legacy-service-secure:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
|
# This is the actual external IP and Port of your Nginx
|
||||||
- address: "webserver:443"
|
- address: "webserver:443"
|
||||||
|
|
||||||
http:
|
http:
|
||||||
@@ -34,9 +35,10 @@ http:
|
|||||||
nginx-legacy-router:
|
nginx-legacy-router:
|
||||||
rule: "HostRegexp(`^.+$`)"
|
rule: "HostRegexp(`^.+$`)"
|
||||||
service: nginx-legacy-service
|
service: nginx-legacy-service
|
||||||
|
# Low priority ensures specific containers are handled first, but before the default acme-handler
|
||||||
|
priority: 90
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- "web"
|
- "web"
|
||||||
priority: 90
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
nginx-legacy-service:
|
nginx-legacy-service:
|
||||||
|
|||||||
Reference in New Issue
Block a user