only one file allowed per manifest
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: health-check-response
|
||||
namespace: kube-system
|
||||
spec:
|
||||
customResponse:
|
||||
status: 200
|
||||
@@ -1,30 +0,0 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: nextcloud-carddav-redirect
|
||||
namespace: kube-system # Recommended to put global middlewares in kube-system or a shared ingress namespace
|
||||
spec:
|
||||
redirectRegex:
|
||||
regex: "^https://(.*)/\\.well-known/carddav"
|
||||
replacement: "https://$1/remote.php/dav"
|
||||
permanent: true
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: nextcloud-caldav-redirect
|
||||
namespace: kube-system
|
||||
spec:
|
||||
redirectRegex:
|
||||
regex: "^https://(.*)/\\.well-known/caldav"
|
||||
replacement: "https://$1/remote.php/dav"
|
||||
permanent: true
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: health-check-response
|
||||
namespace: kube-system
|
||||
spec:
|
||||
customResponse:
|
||||
status: 200
|
||||
@@ -0,0 +1,10 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: nextcloud-caldav-redirect
|
||||
namespace: kube-system
|
||||
spec:
|
||||
redirectRegex:
|
||||
regex: "^https://(.*)/\\.well-known/caldav"
|
||||
replacement: "https://$1/remote.php/dav"
|
||||
permanent: true
|
||||
@@ -0,0 +1,10 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: Middleware
|
||||
metadata:
|
||||
name: nextcloud-carddav-redirect
|
||||
namespace: kube-system # Recommended to put global middlewares in kube-system or a shared ingress namespace
|
||||
spec:
|
||||
redirectRegex:
|
||||
regex: "^https://(.*)/\\.well-known/carddav"
|
||||
replacement: "https://$1/remote.php/dav"
|
||||
permanent: true
|
||||
Reference in New Issue
Block a user