netlify: include basic configuration

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-08-30 23:00:26 +05:30
parent cb31e5e5d4
commit 9acb70b3a3
1 changed files with 9 additions and 0 deletions

9
netlify.toml Normal file
View File

@ -0,0 +1,9 @@
[build.environment]
HUGO_VERSION = "v0.74.3"
[[headers]]
for = "/*"
[headers.values]
Strict-Transport-Security = "max-age=31536000; includeSubDomains; preload"
X-XSS-Protection = "1; mode=block"
Feature-Policy = "accelerometer 'none'; autoplay 'none';camera 'none';encrypted-media 'none'; geolocation 'none';gyroscope 'none';magnetometer 'none';microphone 'none';midi 'none';payment 'none';picture-in-picture 'none';sync-xhr 'none';usb 'none'"
Referrer-Policy = "no-referrer"