From 5fd31a685bb5fd9bb431674a13da1eb68746e927 Mon Sep 17 00:00:00 2001 From: kovagoadi Date: Mon, 22 Dec 2025 14:42:05 +0100 Subject: [PATCH] Added staging configuration --- prod/route-to-staging-dev.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) 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"