mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00: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]
|
[http.middlewares.nc-middlewares-secure-headers.headers]
|
||||||
hostsProxyHeaders = ["X-Forwarded-Host"]
|
hostsProxyHeaders = ["X-Forwarded-Host"]
|
||||||
referrerPolicy = "same-origin"
|
referrerPolicy = "same-origin"
|
||||||
X-Robots-Tag = "none"
|
[http.middlewares.nc-middlewares-secure-headers.headers.customResponseHeaders]
|
||||||
|
X-Robots-Tag = "none"
|
||||||
|
|
||||||
[http.middlewares.https-redirect.redirectscheme]
|
[http.middlewares.https-redirect.redirectscheme]
|
||||||
scheme = "https"
|
scheme = "https"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue