-
Notifications
You must be signed in to change notification settings - Fork 44
/
netlify.toml
44 lines (37 loc) · 1.14 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
[build]
publish = "_site/"
command = "eleventy"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = "default-src 'none'; script-src 'self' www.googletagmanager.com platform.twitter.com syndication.twitter.com static.ads-twitter.com 'sha256-ewTm8QMx/IkmbIFAIapvCHoCrGgIIHhn8qKC7/5Y2Ro=' 'unsafe-hashes' 'sha256-mplq9U9bn5xLaFQjbIOde0Eu7cXsI2xaTPex2jLztp0='; style-src 'self' cdnjs.cloudflare.com fonts.googleapis.com 'sha256-akbuxUDobAg86+TiT5p8TENoFqlhtGWtEqHedhVNujw='; font-src fonts.gstatic.com cdnjs.cloudflare.com; img-src 'self' syndication.twitter.com t.co analytics.twitter.com; frame-src platform.twitter.com; connect-src *.google-analytics.com"
[[redirects]]
from = "/20*"
to = "/"
status = 301
[[redirects]]
from = "/post*"
to = "/"
status = 301
[[redirects]]
from = "/question*"
to = "/"
status = 301
[[redirects]]
from = "/post*"
to = "/"
status = 301
[[redirects]]
from = "/en-us*"
to = "/"
status = 301
[[redirects]]
from = "/blog*"
to = "/"
status = 301
[[redirects]]
from = "/en/*"
to = "/"
status = 301