fix: remove non-functional redirectmiddelwares for nextcloud
This commit is contained in:
parent
58bab94f05
commit
b123f41786
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue