mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-29 23:10:08 +00:00
Add the X-Robots-Tag to the response header
Signed-off-by: hunhejj <hunhejj@gmail.com>
This commit is contained in:
@@ -383,7 +383,8 @@ Of course you need to modify `<your-nc-domain>` to the domain on which you want
|
||||
[http.middlewares.nc-middlewares-secure-headers.headers]
|
||||
hostsProxyHeaders = ["X-Forwarded-Host"]
|
||||
referrerPolicy = "same-origin"
|
||||
X-Robots-Tag = "none"
|
||||
[http.middlewares.nc-middlewares-secure-headers.headers.customResponseHeaders]
|
||||
X-Robots-Tag = "none"
|
||||
|
||||
[http.middlewares.https-redirect.redirectscheme]
|
||||
scheme = "https"
|
||||
|
||||
Reference in New Issue
Block a user