http: routers: # Router for HTTP (Port 80) staging: rule: "HostRegexp({subdomain:.+}.staging.kovagoadi.hu`) || Host(`staging.kovagoadi.hu`) || Host(`dev.kovagoadi.hu`)" entryPoints: - "web" service: "dev-staging" priority: 1_000_000 # 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 services: dev-staging: loadBalancer: servers: - url: "http://192.168.1.85:8080" dev-staging-secure: loadBalancer: servers: # Note: Ensure Traefik trusts the cert at .85 or set insecureSkipVerify - url: "https://192.168.1.85:445"