revert
This commit is contained in:
parent
746bee962f
commit
fb57743806
@ -15,5 +15,4 @@ spec:
|
|||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
port: 80
|
port: 80
|
||||||
middlewares:
|
middlewares:
|
||||||
- name: response
|
|
||||||
- name: redirect
|
- name: redirect
|
||||||
|
@ -7,16 +7,3 @@ spec:
|
|||||||
regex: "https://(.*)/.well-known/(card|cal)dav"
|
regex: "https://(.*)/.well-known/(card|cal)dav"
|
||||||
replacement: "https://${1}/remote.php/dav/"
|
replacement: "https://${1}/remote.php/dav/"
|
||||||
permanent: true
|
permanent: true
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
apiVersion: traefik.io/v1alpha1
|
|
||||||
kind: Middleware
|
|
||||||
metadata:
|
|
||||||
name: response
|
|
||||||
spec:
|
|
||||||
headers:
|
|
||||||
customResponseHeaders:
|
|
||||||
### Change this to none to remove the Robots error:
|
|
||||||
X-Robots-Tag: "noindex, nofollow"
|
|
||||||
server: ""
|
|
||||||
|
@ -11,10 +11,8 @@ spec:
|
|||||||
stsIncludeSubdomains: true
|
stsIncludeSubdomains: true
|
||||||
stsPreload: true
|
stsPreload: true
|
||||||
stsSeconds: 15552000
|
stsSeconds: 15552000
|
||||||
featurePolicy: "camera 'none'; geolocation 'none'; microphone 'none'; payment 'none'; usb 'none'; vr 'none';"
|
|
||||||
customFrameOptionsValue: "SAMEORIGIN"
|
customFrameOptionsValue: "SAMEORIGIN"
|
||||||
customRequestHeaders:
|
customRequestHeaders:
|
||||||
X-Forwarded-Proto: https
|
X-Forwarded-Proto: https
|
||||||
accessControlMaxAge: 300
|
accessControlMaxAge: 300
|
||||||
sslRedirect: true
|
|
||||||
referrerPolicy: "no-referrer"
|
referrerPolicy: "no-referrer"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user