30 lines
653 B
YAML
30 lines
653 B
YAML
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"
|
|
cert-manager.io/issuer: cadoles-selfsigned-ca
|
|
|
|
spec:
|
|
ingressClassName: nginx
|
|
tls:
|
|
- hosts:
|
|
- nxt.cadoles.fr
|
|
secretName: cadoles-selfsigned-ca
|
|
rules:
|
|
- host: nxt.cadoles.fr
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: nextcloud
|
|
port:
|
|
number: 80
|
|
|