Use proper netlify.toml syntax

This commit is contained in:
curben 2018-09-30 17:19:41 +09:30
parent a4490b765d
commit 2fa83af556
1 changed files with 16 additions and 5 deletions

View File

@ -8,10 +8,21 @@
[[headers]]
for = "/*"
[headers.value]
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
for = "/*\.(html|css|js)"
[[headers]]
for = "*.html"
[headers.value]
Content-Encoding: gzip, br
Content-Encoding = "gzip, br"
[[headers]]
for = "*.css"
[headers.value]
Content-Encoding = "gzip, br"
[[headers]]
for = "*.js"
[headers.value]
Content-Encoding = "gzip, br"