30 lines
635 B
YAML
30 lines
635 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.lan
|
|
secretName: cadoles-selfsigned-ca
|
|
rules:
|
|
- host: nxt.cadoles.lan
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: nextcloud
|
|
port:
|
|
number: 80
|
|
|