forked from mozilla/irlpodcast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
88 lines (70 loc) · 2.73 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
[build]
publish = "public"
command = "bin/build-netlify.sh"
[build.environment]
NODE_VERSION = "14"
HUGO_VERSION = "0.40.2"
[context.production.environment]
CONFIG_FILE = "prod"
[context.stage.environment]
CONFIG_FILE = "stage"
[context.master.environment]
CONFIG_FILE = "dev"
[context.deploy-preview.environment]
CONFIG_FILE = "dev"
[[headers]]
for = "/*"
[headers.values]
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Cache-Control = "public, max-age=3600"
Content-Security-Policy = '''
font-src 'self' *.mozilla.net *.mozilla.org;
img-src 'self' data: *.mozilla.net *.mozilla.org www.google-analytics.com *.usefathom.com;
style-src 'self' 'unsafe-inline' *.mozilla.org *.mozilla.net;
script-src 'self' 'unsafe-inline' data: *.mozilla.org *.mozilla.net www.google-analytics.com www.googletagmanager.com *.usefathom.com;
default-src 'self' *.cdn.mozilla.net assets.mozilla.net;
child-src 'self' player.simplecast.com embed.simplecast.com;
form-action 'self' www.mozilla.org;
'''
[[headers]]
for = "/css/*"
[headers.values]
Cache-Control = "max-age=31536000, public, immutable"
[[headers]]
for = "/js/*"
[headers.values]
Cache-Control = "max-age=31536000, public, immutable"
[[headers]]
for = "/fonts/*"
[headers.values]
Cache-Control = "max-age=31536000, public"
[[headers]]
for = "/images/*"
[headers.values]
Cache-Control = "max-age=3600, public"
[[redirects]]
from = "/twit"
to = "https://2022.internethealthreport.org/?utm_medium=podcast&utm_source=twit&utm_campaign=ihr2022&utm_content=twit"
[[redirects]]
from = "/castbox"
to = "https://2022.internethealthreport.org/?utm_medium=podcast&utm_source=castbox&utm_campaign=ihr2022&utm_content=castbox"
[[redirects]]
from = "/TWIT"
to = "https://2022.internethealthreport.org/?utm_medium=podcast&utm_source=twit&utm_campaign=ihr2022&utm_content=twit"
[[redirects]]
from = "/talkpython"
to = "https://2022.internethealthreport.org/?utm_medium=podcast&utm_source=talkpython&utm_campaign=ihr2022&utm_content=talkpython"
[[redirects]]
from = "/endlessthread"
to = "https://2022.internethealthreport.org/?utm_medium=podcast&utm_source=endlessthread&utm_campaign=ihr2022&utm_content=endlessthread"
[[redirects]]
from = "/ted"
to = "https://2022.internethealthreport.org/?utm_medium=podcast&utm_source=ted&utm_campaign=ihr2022&utm_content=ted"
[[redirects]]
from = "/cyber"
to = "https://2022.internethealthreport.org/?utm_medium=podcast&utm_source=cyber&utm_campaign=ihr2022&utm_content=cyber"
[[redirects]]
from = "/CYBER"
to = "https://2022.internethealthreport.org/?utm_medium=podcast&utm_source=cyber&utm_campaign=ihr2022&utm_content=cyber"