diff --git a/nginx/conf.d/default.conf b/nginx/conf.d/default.conf index d24a624..c83d395 100644 --- a/nginx/conf.d/default.conf +++ b/nginx/conf.d/default.conf @@ -85,10 +85,7 @@ server { } # disable Google bots from indexing this site - location = /robots.txt { - add_header Content-Type text/plain; - return 200 "User-agent: *\nDisallow: /\n"; - } + add_header X-Robots-Tag "noindex"; location ~ /api/v[0-9]+/(users/)?websocket$ { proxy_set_header Upgrade $http_upgrade;