Compare commits
2 Commits
82f6d992af
...
1d06cf31e7
| Author | SHA1 | Date | |
|---|---|---|---|
| 1d06cf31e7 | |||
| 35ff8b4697 |
@@ -8,14 +8,27 @@ http:
|
||||
service: "dev-staging"
|
||||
priority: 1000000
|
||||
|
||||
# Router for HTTPS (Port 443)
|
||||
# # Router for HTTPS (Port 443)
|
||||
# staging-secure:
|
||||
# rule: "Host(`staging.kovagoadi.hu`) || Host(`dev.kovagoadi.hu`)"
|
||||
# entryPoints:
|
||||
# - "https"
|
||||
# service: "dev-staging-secure"
|
||||
# priority: 100
|
||||
# tls: {} # <--- This enables TLS for this router
|
||||
|
||||
tcp:
|
||||
routers:
|
||||
# Router for HTTPS (Passthrough)
|
||||
staging-secure:
|
||||
rule: "Host(`staging.kovagoadi.hu`) || Host(`dev.kovagoadi.hu`)"
|
||||
rule: "HostSNI(`staging.kovagoadi.hu`) || HostSNI(`dev.kovagoadi.hu`)"
|
||||
service: "dev-staging-secure"
|
||||
# Passthrough must be true for SSL to reach Nginx encrypted
|
||||
tls:
|
||||
passthrough: true
|
||||
priority: 100
|
||||
entryPoints:
|
||||
- "https"
|
||||
service: "dev-staging-secure"
|
||||
priority: 100
|
||||
tls: {} # <--- This enables TLS for this router
|
||||
|
||||
services:
|
||||
dev-staging:
|
||||
@@ -27,4 +40,4 @@ http:
|
||||
loadBalancer:
|
||||
servers:
|
||||
# Note: Ensure Traefik trusts the cert at .85 or set insecureSkipVerify
|
||||
- url: "https://192.168.1.85:445"
|
||||
- address: "192.168.1.85:445"
|
||||
@@ -1,5 +1,5 @@
|
||||
services:
|
||||
traefik4:
|
||||
traefik6:
|
||||
image: "traefik:v3.6@sha256:67622638cd88dbfcfba40159bc652ecf0aea0e032f8a3c7e3134ae7c037b9910"
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
|
||||
Reference in New Issue
Block a user