mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-01 02:19:27 +08:00
Add the X-Robots-Tag to the response header
Signed-off-by: hunhejj <hunhejj@gmail.com>
This commit is contained in:
parent
afb231bc9a
commit
a914a29c26
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue