1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Nextcloud security warning X-Robots-Tag" HTTP header is not set as "noindex, nofollow"

This commit is contained in:
Éric Gaspar 2023-03-28 15:54:31 +02:00
parent 627a9ad27a
commit 312c6cb1d8

View file

@ -28,7 +28,7 @@ location ^~ __PATH__/ {
more_set_headers "X-Download-Options: noopen";
more_set_headers "X-Frame-Options: SAMEORIGIN";
more_set_headers "X-Permitted-Cross-Domain-Policies: none";
more_set_headers "X-Robots-Tag: none";
more_set_headers "X-Robots-Tag: noindex, nofollow";
more_set_headers "X-XSS-Protection: 1; mode=block";
# Set max upload size