diff --git a/prod/route-to-staging-dev.yaml b/prod/route-to-staging-dev.yaml index e69de29..339a3ca 100644 --- a/prod/route-to-staging-dev.yaml +++ b/prod/route-to-staging-dev.yaml @@ -0,0 +1,26 @@ +http: + routers: + staging: + rule: "Host(`staging.kovagoadi.hu`) || Host(`dev.kovagoadi.hu`)" + entryPoints: + - "web" + service: "dev-staging" + priority: 100 +https: + routers: + staging-secure: + rule: "Host(`staging.kovagoadi.hu`) || Host(`dev.kovagoadi.hu`)" + entryPoints: + - "https" + service: "dev-staging-secure" + priority: 100 + +services: + dev-staging: + loadBalancer: + servers: + - url: "http://192.168.1.85:8080" + dev-staging-secure: + loadBalancer: + servers: + - url: "https://192.168.1.85:445"