-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnetlify.toml
38 lines (32 loc) · 882 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[build]
command = "hugo"
publish = "build"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "upgrade-insecure-requests"
Permissions-Policy = "camera=(), microphone=(), midi=()"
Referrer-Policy = "no-referrer-when-downgrade"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "SAMEORIGIN"
X-XSS-Protection = "0"
[[headers]]
for = "/*.css"
[headers.values]
Cache-Control = "public, s-max-age=64800"
[[headers]]
for = "/*.ico"
[headers.values]
Cache-Control = "public, max-age=1604800, immutable"
[[headers]]
for = "/fonts/*"
[headers.values]
Cache-Control = "public, max-age=604800, immutable"
[[headers]]
for = "/img/*"
[headers.values]
Cache-Control = "public, max-age=1604800, immutable"
[[headers]]
for = "/js/*"
[headers.values]
Cache-Control = "public, max-age=1604800, immutable"