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