diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-02-18 22:04:41 +0100 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2024-02-18 22:04:47 +0100 |
commit | 8ca26cbb43f8ff2b0b5a2c49d8e11a2f4dd54b79 (patch) | |
tree | df29d984b55d1e346863f4ad57cfd76f34af8bab /roles/webserver/files/user_conf.d/memzero.conf | |
parent | 181545b2cc783165b4387b0d9f31a177ae0af925 (diff) | |
download | ansible-memzero-8ca26cbb43f8ff2b0b5a2c49d8e11a2f4dd54b79.tar.gz ansible-memzero-8ca26cbb43f8ff2b0b5a2c49d8e11a2f4dd54b79.zip |
nginx: self-hosted freq used docs /pub/
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 { |