Add X-Robots header to nextcloud
This commit is contained in:
parent
bed90cc635
commit
f3aff4c4e8
2 changed files with 4 additions and 1 deletions
|
@ -63,6 +63,9 @@ permanent = true
|
|||
regex = "https://(.*)/.well-known/(webfinger|nodeinfo)"
|
||||
replacement = "https://${1}/index.php/.well-known/${2}"
|
||||
|
||||
[http.middlewares.nextcloud-security-headers.headers.customResponseHeaders]
|
||||
X-Robots-Tag = "noindex,nofollow"
|
||||
|
||||
[http.middlewares.www2non-www.redirectregex]
|
||||
permanent = true
|
||||
regex = "^https?://www\\.(.+)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue