1
0
Fork 0
distrust-stack/kustomizations/milksad-website/ingress.yaml

40 lines
915 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: website
annotations:
cert-manager.io/issuer: letsencrypt-milksad-http01
nginx.ingress.kubernetes.io/enable-cors: "true"
external-dns.alpha.kubernetes.io/hostname: milksad-web.distrust.co
spec:
ingressClassName: nginx
rules:
- host: milksad.info
http:
paths:
- path: /.well-known/openpgpkey
pathType: Prefix
backend:
service:
name: wellknown-openpgp
port:
number: 80
- path: /.well-known/matrix
pathType: Prefix
backend:
service:
name: wellknown-matrix
port:
number: 80
- path: /
pathType: Prefix
backend:
service:
name: website
port:
number: 80
tls:
- hosts:
- milksad.info
secretName: website-tls