mirror of https://gitlab.com/curben/blog
Use proper netlify.toml syntax
This commit is contained in:
parent
a4490b765d
commit
2fa83af556
21
netlify.toml
21
netlify.toml
|
@ -8,10 +8,21 @@
|
||||||
[[headers]]
|
[[headers]]
|
||||||
for = "/*"
|
for = "/*"
|
||||||
[headers.value]
|
[headers.value]
|
||||||
X-Frame-Options: DENY
|
X-Frame-Options = "DENY"
|
||||||
X-XSS-Protection: 1; mode=block
|
X-XSS-Protection = "1; mode=block"
|
||||||
X-Content-Type-Options: nosniff
|
X-Content-Type-Options = "nosniff"
|
||||||
|
|
||||||
for = "/*\.(html|css|js)"
|
[[headers]]
|
||||||
|
for = "*.html"
|
||||||
[headers.value]
|
[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"
|
||||||
|
|
Loading…
Reference in New Issue