Skip to content

Commit

Permalink
Merge pull request #1962 from pietroalbini/headers1
Browse files Browse the repository at this point in the history
Add extra HTTP headers to rustup.rs
  • Loading branch information
kinnison authored Aug 1, 2019
2 parents c104e3b + 7be74d7 commit d2ef3fc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions www/website_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"headers": {
"Strict-Transport-Security": "max-age=63072000; includeSubDomains",
"X-Content-Type-Options": "nosniff",
"X-Frame-Options": "DENY",
"X-XSS-Protection": "1; mode=block",
"Referrer-Policy": "no-referrer, strict-origin-when-cross-origin"
}
}

0 comments on commit d2ef3fc

Please sign in to comment.