feat: IngressRoute direct access to stable at nginx-stable.thedevops.dev
This commit is contained in:
37
apps/nginx-weighted/ingressroute-stable.yaml
Normal file
37
apps/nginx-weighted/ingressroute-stable.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user