18 lines
335 B
YAML
18 lines
335 B
YAML
|
apiVersion: networking.k8s.io/v1
|
||
|
kind: Ingress
|
||
|
metadata:
|
||
|
name: nwbot
|
||
|
namespace: nwbot
|
||
|
annotations:
|
||
|
kubernetes.io/ingress.class: "nginx"
|
||
|
spec:
|
||
|
rules:
|
||
|
- host: bot.biudi.cn
|
||
|
http:
|
||
|
paths:
|
||
|
- path: /
|
||
|
pathType: Prefix
|
||
|
backend:
|
||
|
name: nwbot
|
||
|
port: 53121
|