diff options
Diffstat (limited to 'roles/webserver/files/user_conf.d/memzero.conf')
-rw-r--r-- | roles/webserver/files/user_conf.d/memzero.conf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/webserver/files/user_conf.d/memzero.conf b/roles/webserver/files/user_conf.d/memzero.conf index ed3bd9d..2da3a73 100644 --- a/roles/webserver/files/user_conf.d/memzero.conf +++ b/roles/webserver/files/user_conf.d/memzero.conf @@ -10,6 +10,12 @@ server { include /etc/nginx/inc/ssl.conf; root /www/memzero; + + location /pub/ { + autoindex on; + # https://developers.google.com/search/docs/crawling-indexing/robots-meta-tag + add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive"; + } } server { |