diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2023-03-26 14:20:06 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2023-03-26 14:20:06 +0200 |
commit | 666e4c6e52deeb3fbb0cbf2055afb26fa7c28e5f (patch) | |
tree | aa9cfa41863d934805cc58efe29b564e49b2e9d1 /roles/nextcloud/files/etc/nginx | |
parent | 6db5440eebbd418d84428d360e17b52273f4d1d8 (diff) |
Nextcloud: Set ‘X-Robots-Tag: noindex, nofollow’.
Per upstream recommendation at https://cloud.fripost.org/settings/admin/overview .
Diffstat (limited to 'roles/nextcloud/files/etc/nginx')
-rw-r--r-- | roles/nextcloud/files/etc/nginx/sites-available/nextcloud | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/nextcloud/files/etc/nginx/sites-available/nextcloud b/roles/nextcloud/files/etc/nginx/sites-available/nextcloud index 1bab6fd..e8820ca 100644 --- a/roles/nextcloud/files/etc/nginx/sites-available/nextcloud +++ b/roles/nextcloud/files/etc/nginx/sites-available/nextcloud @@ -23,7 +23,7 @@ server { root /usr/local/share/nextcloud; include snippets/headers.conf; - add_header X-Robots-Tag none; + add_header X-Robots-Tag "noindex, nofollow"; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; |