proxy_hide_header X-Robots-Tag; add_header X-Robots-Tag "noindex, nofollow" always; location = /robots.txt { root /srv/nginx; allow all; log_not_found off; access_log off; }