2023-07-25 04:37:57 +00:00
|
|
|
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
|
2023-07-25 04:45:37 +00:00
|
|
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
2023-07-25 04:37:57 +00:00
|
|
|
spec:
|
|
|
|
ingressClassName: nginx
|
|
|
|
rules:
|
|
|
|
- host: distrust.co
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /.well-known/openpgpkey
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: wellknown-openpgp
|
|
|
|
port:
|
|
|
|
number: 80
|
2023-07-26 15:09:31 +00:00
|
|
|
- path: /.well-known/matrix
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: wellknown-matrix
|
|
|
|
port:
|
|
|
|
number: 80
|
2023-07-25 04:37:57 +00:00
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: website
|
|
|
|
port:
|
|
|
|
number: 80
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- distrust.co
|
|
|
|
secretName: website-tls
|
2024-08-09 01:18:20 +00:00
|
|
|
---
|
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: docs
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
|
|
external-dns.alpha.kubernetes.io/hostname: docs.distrust.co
|
|
|
|
nginx.ingress.kubernetes.io/enable-cors: "true"
|
|
|
|
spec:
|
|
|
|
ingressClassName: nginx
|
|
|
|
rules:
|
|
|
|
- host: docs.distrust.co
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: docs
|
|
|
|
port:
|
|
|
|
number: 80
|
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- docs.distrust.co
|
|
|
|
secretName: docs-tls
|