fix: add direct IngressRoutes for nginx-stable and nginx-canary subdomains #5

Merged
admin merged 4 commits from feat/nginx-direct-routes into main 2026-03-04 19:02:25 +00:00
Showing only changes of commit a74380c917 - Show all commits

View File

@@ -0,0 +1,37 @@
---
# Direct HTTPS access to stable app at nginx-stable.thedevops.dev
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: nginx-stable-direct
namespace: nginx-mcp
spec:
entryPoints:
- websecure
routes:
- match: Host(`nginx-stable.thedevops.dev`)
kind: Rule
services:
- name: nginx-mcp
port: 80
tls:
secretName: nginx-stable-tls
---
# HTTP redirect for nginx-stable.thedevops.dev
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: nginx-stable-direct-http
namespace: nginx-mcp
spec:
entryPoints:
- web
routes:
- match: Host(`nginx-stable.thedevops.dev`)
kind: Rule
middlewares:
- name: redirect-https
namespace: nginx-mcp
services:
- name: nginx-mcp
port: 80