Testing whether folder works #26

Open
kovagoadi wants to merge 28 commits from add-route-to-staging-dev into main
Showing only changes of commit f5f727b4f0 - Show all commits

View File

@@ -1,26 +1,30 @@
http: http:
routers: routers:
# Router for HTTP (Port 80)
staging: staging:
rule: "Host(`staging.kovagoadi.hu`) || Host(`dev.kovagoadi.hu`)" rule: "Host(`staging.kovagoadi.hu`) || Host(`dev.kovagoadi.hu`)"
entryPoints: entryPoints:
- "web" - "web"
service: "dev-staging" service: "dev-staging"
priority: 100 priority: 100
https:
routers: # Router for HTTPS (Port 443)
staging-secure: staging-secure:
rule: "Host(`staging.kovagoadi.hu`) || Host(`dev.kovagoadi.hu`)" rule: "Host(`staging.kovagoadi.hu`) || Host(`dev.kovagoadi.hu`)"
entryPoints: entryPoints:
- "https" - "https"
service: "dev-staging-secure" service: "dev-staging-secure"
priority: 100 priority: 100
tls: {} # <--- This enables TLS for this router
services: services:
dev-staging: dev-staging:
loadBalancer: loadBalancer:
servers: servers:
- url: "http://192.168.1.85:8080" - url: "http://192.168.1.85:8080"
dev-staging-secure: dev-staging-secure:
loadBalancer: loadBalancer:
servers: servers:
# Note: Ensure Traefik trusts the cert at .85 or set insecureSkipVerify
- url: "https://192.168.1.85:445" - url: "https://192.168.1.85:445"