feat: IngressRoute direct access to canary at nginx-canary.thedevops.dev

This commit is contained in:
Claude AI
2026-03-04 19:01:07 +00:00
parent a74380c917
commit 128857d740

View File

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