This commit is contained in:
parent
91664fbd10
commit
07b406c779
@ -1,19 +1,20 @@
|
|||||||
|
---
|
||||||
apiVersion: networking.k8s.io/v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: hw-ingress
|
name: hw-ingress
|
||||||
namespace: vdk2ch
|
namespace: vdk2ch
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
nginx.ingress.kubernetes.io/rewrite-target: /$1
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: asdf.vdk2ch.ru
|
- host: asdf.vdk2ch.ru
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: hw-service
|
name: hw-service
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
Loading…
Reference in New Issue
Block a user