Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Push a temporary HSTS hack because for netlify broken root-level domains
Browse files Browse the repository at this point in the history
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
  • Loading branch information
Ari Archer committed Sep 25, 2022
1 parent 8277f7c commit 3cdd7cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -192,3 +192,10 @@
X-Permitted-Cross-Domain-Policies = "none"
Referrer-Policy = "no-referrer"

[[headers]]
for = "https://ari-web.xyz"

[headers.values]
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
Content-Security-Policy = "upgrade-insecure-requests"
Referrer-Policy = "no-referrer"

0 comments on commit 3cdd7cc

Please sign in to comment.