fix: remove non-functional redirectmiddelwares for nextcloud

This commit is contained in:
kjeld Schouten-Lebbing 2021-09-09 00:42:32 +02:00
parent 58bab94f05
commit b123f41786
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
2 changed files with 1 additions and 34 deletions

View File

@ -22,4 +22,4 @@ sources:
- https://github.com/traefik/traefik-helm-chart
- https://traefik.io/
type: application
version: 7.1.3
version: 7.1.4

View File

@ -26,36 +26,6 @@ spec:
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: tc-nextcloud-redirectregex-finger
namespace: {{ $namespace }}
spec:
redirectRegex:
regex: "https://(.*)/.well-known/webfinger"
replacement: "https://${1}/public.php?service=webfinger"
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: tc-nextcloud-redirectregex-hostmeta
namespace: {{ $namespace }}
spec:
redirectRegex:
regex: "https://(.*)/.well-known/host-meta"
replacement: "https://${1}/public.php?service=host-meta"
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: tc-nextcloud-redirectregex-hostmetajson
namespace: {{ $namespace }}
spec:
redirectRegex:
regex: "https://(.*)/.well-known/host-meta.json"
replacement: "https://${1}/public.php?service=host-meta-json"
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: tc-nextcloud-chain
namespace: {{ $namespace }}
@ -64,6 +34,3 @@ spec:
middlewares:
- name: tc-nextcloud-headers
- name: tc-nextcloud-redirectregex-dav
- name: tc-nextcloud-redirectregex-finger
- name: tc-nextcloud-redirectregex-hostmetajson
- name: tc-nextcloud-redirectregex-hostmeta