nextcloud-kustom/overlays/dev/patches/nginx-ingress.yaml

30 lines
635 B
YAML
Raw Normal View History

2023-08-30 16:23:34 +02:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nextcloud
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "5m"
nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-headers: "X-Forwarded-For"
2023-08-30 16:23:34 +02:00
cert-manager.io/issuer: cadoles-selfsigned-ca
spec:
ingressClassName: nginx
tls:
- hosts:
- nxt.cadoles.lan
2023-08-30 16:23:34 +02:00
secretName: cadoles-selfsigned-ca
rules:
- host: nxt.cadoles.lan
2023-08-30 16:23:34 +02:00
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: nextcloud
port:
number: 80