-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
netlify.toml
107 lines (88 loc) · 2.52 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[[headers]]
for = "/*" # This defines which paths this specific [[headers]] block will cover.
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Referrer-Policy = "no-referrer"
X-Content-Type-Options = "nosniff"
Feature-Policy = "vibrate 'none'; geolocation 'none'; midi 'none'; notifications 'none'; push 'none'; sync-xhr 'none'; microphone 'none'; camera 'none'; magnetometer 'none'; gyroscope 'none'; speaker 'none'; vibrate 'none'; fullscreen 'none'; payment 'none'"
[[headers]]
for = "*.ico"
[headers.values]
Content-Type = "image/x-icon"
Cache-Control = "max-age=604800, public"
[[headers]]
for = "*.svg"
[headers.values]
Content-Type = "image/svg+xml"
Cache-Control = "max-age=2628000, public"
[[headers]]
for = "*.ttf"
[headers.values]
Content-Type = "font/ttf"
Cache-Control = "max-age=2628000, public"
[[headers]]
for = "*.otf"
[headers.values]
Content-Type = "font/otf"
Cache-Control = "max-age=2628000, public"
[[headers]]
for = "*.eot"
[headers.values]
Content-Type = "application/vnd.ms-fontobject"
Cache-Control = "max-age=2628000, public"
[[headers]]
for = "*.woff"
[headers.values]
Content-Type = "font/woff"
Cache-Control = "max-age=2628000, public"
[[headers]]
for = "*.woff2"
[headers.values]
Content-Type = "font/woff"
Cache-Control = "max-age=2628000, public"
[[headers]]
for = "*.xml"
[headers.values]
Content-Type = "text/xml"
Cache-Control = "max-age=3600, public"
[[headers]]
for = "*.mp4"
[headers.values]
Content-Type = "video/mp4"
Cache-Control = "max-age=604800, public"
[[headers]]
for = "*.webm"
[headers.values]
Content-Type = "video/webm"
Cache-Control = "max-age=604800, public"
[[headers]]
for = "*.docx"
[headers.values]
Content-Type = "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
Cache-Control = "max-age=604800, public"
[[headers]]
for = "*.pdf"
[headers.values]
Content-Type = "application/pdf"
Cache-Control = "max-age=604800, public"
[[headers]]
for = "*.css"
[headers.values]
Cache-Control = "max-age=604800, public"
[[headers]]
for = "*.js"
[headers.values]
Cache-Control = "max-age=604800, public"
[[headers]]
for = "*.jpg"
[headers.values]
Cache-Control = "max-age=604800, public"
[[headers]]
for = "*.png"
[headers.values]
Cache-Control = "max-age=604800, public"
[[headers]]
for = "*.gif"
[headers.values]
Cache-Control = "max-age=604800, public"