summaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorMichaIng <micha@dietpi.com>2023-02-13 14:09:13 +0100
committerMichaIng <micha@dietpi.com>2023-02-15 20:16:51 +0100
commit5f90b8eb118324627d5845e2a7a6fa8613bf4579 (patch)
tree612cf8b502fcfc5c607ce6c7fc8aa22baa0f32c8 /tests/data
parentb36a31c918ad997e6d227dc7923791c487e18e51 (diff)
downloadnextcloud-server-5f90b8eb118324627d5845e2a7a6fa8613bf4579.tar.gz
nextcloud-server-5f90b8eb118324627d5845e2a7a6fa8613bf4579.zip
Change X-Robots-Tag header from "none" to "noindex, nofollow"
While "none" is indeed equivalent to "noindex, nofollow" for Google, but seems to be not supported by Bing and probably other search engines. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name#other_metadata_names https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag?hl=de#comma-separated-list https://www.bing.com/webmasters/help/which-robots-metatags-does-bing-support-5198d240 Signed-off-by: MichaIng <micha@dietpi.com>
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/setUploadLimit/htaccess2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/data/setUploadLimit/htaccess b/tests/data/setUploadLimit/htaccess
index 53b06d5ae22..53f743f45e7 100644
--- a/tests/data/setUploadLimit/htaccess
+++ b/tests/data/setUploadLimit/htaccess
@@ -11,7 +11,7 @@
# Add security and privacy related headers
Header set X-Content-Type-Options "nosniff"
Header set X-XSS-Protection "1; mode=block"
- Header set X-Robots-Tag "none"
+ Header set X-Robots-Tag "noindex, nofollow"
Header set X-Frame-Options "SAMEORIGIN"
SetEnv modHeadersAvailable true
</IfModule>