31 lines
752 B
YAML
31 lines
752 B
YAML
---
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: flask-htmx-ingress
|
|
namespace: vdk2ch
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
|
#nginx.ingress.kubernetes.io/app-root: /
|
|
spec:
|
|
rules:
|
|
- host: master.board.vdk2ch.ru
|
|
http:
|
|
paths:
|
|
- path: /(.*)
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: flask-htmx-master-service
|
|
port:
|
|
number: 5000
|
|
- host: dev.board.vdk2ch.ru
|
|
http:
|
|
paths:
|
|
- path: /(.*)
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: flask-htmx-dev-service
|
|
port:
|
|
number: 5000 |