33 lines
714 B
YAML
33 lines
714 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: forgejo
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt
|
|
external-dns.alpha.kubernetes.io/hostname: git.distrust.co
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "1000m"
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: git.distrust.co
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: forgejo
|
|
port:
|
|
number: 80
|
|
- path: /robots.txt
|
|
pathType: Exact
|
|
backend:
|
|
service:
|
|
name: robots
|
|
port:
|
|
number: 80
|
|
tls:
|
|
- hosts:
|
|
- git.distrust.co
|
|
secretName: website-tls
|