apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: nextcloud-ingress namespace: nextcloud annotations: nginx.ingress.kubernetes.io/ssl-redirect: "false" nginx.ingress.kubernetes.io/use-regex: "true" spec: ingressClassName: nginx rules: - host: "nextcloud.cluster.edward.sydney" http: paths: - pathType: Prefix path: "/" backend: service: name: nextcloud port: number: 8080