diff --git a/templates/default.nginx_http.security.conf.template b/templates/default.nginx_http.security.conf.template index e692a95..c740558 100644 --- a/templates/default.nginx_http.security.conf.template +++ b/templates/default.nginx_http.security.conf.template @@ -27,3 +27,7 @@ proxy_hide_header Server; add_header X-Content-Type-Options "nosniff" always; add_header Strict-Transport-Security $hsts_header always; + +{{^PRODUCTION}} +add_header X-Robots-Tag "noindex, nofollow" always; +{{/PRODUCTION}}