Skip to content

Commit

Permalink
Merge pull request #236 from dockstore/feature/seab-4908/noindex
Browse files Browse the repository at this point in the history
Add a header for noindex and nofollow
  • Loading branch information
david4096 authored Oct 26, 2022
2 parents 1d3eac3 + 7eeccb9 commit fe16292
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/default.nginx_http.security.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -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}}

0 comments on commit fe16292

Please sign in to comment.