25 lines
512 B
YAML
25 lines
512 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: nwbot
|
|
namespace: nwbot
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
kubernetes.io/ingress.class: nginx
|
|
spec:
|
|
rules:
|
|
- host: bot.biudi.cn
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: nwbot
|
|
port:
|
|
number: 53121
|
|
tls:
|
|
- hosts:
|
|
- bot.biudi.cn
|
|
secretName: nwbot
|