fix: remove non-functional redirectmiddelwares for nextcloud
This commit is contained in:
@@ -22,4 +22,4 @@ sources:
|
|||||||
- https://github.com/traefik/traefik-helm-chart
|
- https://github.com/traefik/traefik-helm-chart
|
||||||
- https://traefik.io/
|
- https://traefik.io/
|
||||||
type: application
|
type: application
|
||||||
version: 7.1.3
|
version: 7.1.4
|
||||||
|
|||||||
@@ -26,36 +26,6 @@ spec:
|
|||||||
---
|
---
|
||||||
apiVersion: traefik.containo.us/v1alpha1
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
kind: Middleware
|
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:
|
metadata:
|
||||||
name: tc-nextcloud-chain
|
name: tc-nextcloud-chain
|
||||||
namespace: {{ $namespace }}
|
namespace: {{ $namespace }}
|
||||||
@@ -64,6 +34,3 @@ spec:
|
|||||||
middlewares:
|
middlewares:
|
||||||
- name: tc-nextcloud-headers
|
- name: tc-nextcloud-headers
|
||||||
- name: tc-nextcloud-redirectregex-dav
|
- name: tc-nextcloud-redirectregex-dav
|
||||||
- name: tc-nextcloud-redirectregex-finger
|
|
||||||
- name: tc-nextcloud-redirectregex-hostmetajson
|
|
||||||
- name: tc-nextcloud-redirectregex-hostmeta
|
|
||||||
|
|||||||
Reference in New Issue
Block a user