apps/radicale/ing.yaml (view raw)
1apiVersion: networking.k8s.io/v1
2kind: Ingress
3metadata:
4 annotations:
5 nginx.ingress.kubernetes.io/configuration-snippet: |
6 proxy_set_header X-Script-Name /;
7 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
8 proxy_set_header Host $http_host;
9 proxy_pass_header Authorization;
10 kubernetes.io/tls-acme: 'true'
11 cert-manager.io/issuer: "letsencrypt-prod"
12 name: radicale-ingress
13spec:
14 tls:
15 - hosts:
16 - dav.icyphox.sh
17 secretName: radicale-certs
18 rules:
19 - host: dav.icyphox.sh
20 http:
21 paths:
22 - backend:
23 service:
24 name: radicale
25 port:
26 number: 5232
27 path: /
28 pathType: Prefix