-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
56 lines (49 loc) · 931 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[build]
functions = "./functions"
[[headers]]
for = "/*.js"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "same-origin"
[[headers]]
for = "/*.js"
[headers.values]
cache-control = '''
public,
max-age=31536000,
immutable'''
[[headers]]
for = "/*.css"
[headers.values]
cache-control = '''
public,
max-age=31536000,
immutable'''
[[headers]]
for = "/fonts/*"
[headers.values]
cache-control = '''
public,
max-age=31536000,
immutable'''
[[headers]]
for = "/static/*"
[headers.values]
cache-control = '''
public,
max-age=31536000,
immutable'''
[[headers]]
for = "/img/*"
[headers.values]
cache-control = '''
public,
max-age=86400,
stale-while-revalidate=86400'''
[[redirects]]
from = "https://aggelosarvanitakis.me/*"
to = "https://aggelos.dev/:splat"
status = 301
force = true