From ba65f0609ae808e4f787bd8f6ba6e736fca17b68 Mon Sep 17 00:00:00 2001 From: kovagoadi Date: Thu, 25 Dec 2025 21:07:07 +0100 Subject: [PATCH 1/2] chore: remove staging/dev routing configuration and associated extra host entries --- docker-compose.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 85082da..92316b8 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -21,9 +21,9 @@ services: - "--certificatesResolvers.letsencrypt.acme.caServer=${CERTBOT_CA_RESOLVER}" - "${TRAEFIK_LEGACY_OPT:-}" - "--providers.file.watch=true" - extra_hosts: - - "staging:${STAGING_IP:-192.168.1.85}" - - "webserver:${LEGACY_IP:-192.168.1.85}" + # extra_hosts: + # - "staging:${STAGING_IP:-192.168.1.85}" + # - "webserver:${LEGACY_IP:-192.168.1.85}" ports: - "${PORT}:80" - "${HTTPS_PORT}:443" -- 2.49.1 From 6e9c0f0442e3ee4148ea52a1db892ebb4a277f28 Mon Sep 17 00:00:00 2001 From: kovagoadi Date: Thu, 25 Dec 2025 21:11:27 +0100 Subject: [PATCH 2/2] Removed new file --- prod/route-to-staging-dev.yaml | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 prod/route-to-staging-dev.yaml diff --git a/prod/route-to-staging-dev.yaml b/prod/route-to-staging-dev.yaml deleted file mode 100644 index fd12671..0000000 --- a/prod/route-to-staging-dev.yaml +++ /dev/null @@ -1,33 +0,0 @@ -http: - routers: - # Router for HTTP (Port 80) - staging: - rule: "HostRegexp(`^.+\\.staging\\.kovagoadi\\.hu$`) || HostRegexp(`^.+\\.dev\\.kovagoadi\\.hu$`)" - entryPoints: - - "web" - service: "dev-staging" - priority: 1000 - services: - dev-staging: - loadBalancer: - servers: - - url: "http://staging:8080" - -tcp: - routers: - # Router for HTTPS (Passthrough) - dev-staging-secure: - rule: "HostSNIRegexp(`^.+\\.staging\\.kovagoadi\\.hu$`) || HostSNIRegexp(`^.+\\.dev\\.kovagoadi\\.hu$`)" - service: "dev-staging-secure" - # Passthrough must be true for SSL to reach Nginx encrypted - tls: - passthrough: true - priority: 1000 - entryPoints: - - "https" - services: - dev-staging-secure: - loadBalancer: - servers: - # Note: Ensure Traefik trusts the cert at .85 or set insecureSkipVerify - - address: "staging:445" \ No newline at end of file -- 2.49.1