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