28 lines
714 B
YAML
28 lines
714 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: nextcloud
|
|
|
|
annotations:
|
|
# kustomize.config.k8s.io/needs: configmap/nextcloud-envi
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "138m"
|
|
nginx.ingress.kubernetes.io/enable-cors: "true" #cf 01
|
|
nginx.ingress.kubernetes.io/cors-allow-headers: "X-Forwarded-For" #cf 01
|
|
# nginx.ingress.kubernetes.io/client_max_body_size: "100m"
|
|
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: nxt.base.fr
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: nextcloud
|
|
port:
|
|
number: 80
|
|
|
|
# cf 01 => https://artifacthub.io/packages/helm/nextcloud/nextcloud
|