/
netlify.toml
102 lines (79 loc) · 2.45 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
[build]
Functions = "functions"
command = "yarn run build"
# do a lighter build on the branches
[context.branch-deploy]
command = "yarn run build:branch"
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
X-Content-Type-Options = "nosniff"
Referrer-Policy= "no-referrer-when-downgrade"
# Simplify requests for my headshots
[[redirects]]
from = "/philhawksworth-*"
to = "/images/philhawksworth-:splat"
# Look after the old use of journal in urls
[[redirects]]
from = "/journal*"
to = "/blog:splat"
status = 301
# Simplified blog urls for slugs
[[redirects]]
from = "/blog/:year/:month/:day/:slug"
to = "/blog/:slug"
status = 301
# A serverless cgi-bin!
# https://www.hawksworx.com/cgi-bin/hello/friend
[[redirects]]
from = "/cgi-bin/hello/:name"
to = "/.netlify/functions/hello?name=:name"
status = 200
# Talks and sldes
[[redirects]]
from = "/talks"
to = "/speaking"
status = 302
# Talks and sldes
[[redirects]]
from = "/talks/scriptconf"
to = "https://speakerdeck.com/philhawksworth/next-wave-infrastructure"
status = 302
[[redirects]]
from = "/talks/scriptcom"
to = "https://speakerdeck.com/philhawksworth/next-wave-infrastructure"
status = 302
[[redirects]]
from = "/talks/JAMLDN1"
to = "https://speakerdeck.com/philhawksworth/next-wave-infrastructure"
status = 302
[[redirects]]
from = "/talks/smashing"
to = "https://speakerdeck.com/philhawksworth/next-wave-infrastructure"
status = 302
[[redirects]]
from = "/talks/stealth"
to = "https://speakerdeck.com/philhawksworth/stealthy-git-solving-cms-woes-with-git-on-the-quiet"
status = 302
[[redirects]]
from = "/talks/render"
to = "https://speakerdeck.com/philhawksworth/serving-for-the-win-deployments-and-infrastructure-for-the-rest-of-us"
status = 302
[[redirects]]
from = "/talks/serve"
to = "https://speakerdeck.com/philhawksworth/serving-for-the-win-deployments-and-infrastructure-for-the-rest-of-us"
status = 302
[[redirects]]
from = "/talks/jsheroes"
to = "https://speakerdeck.com/philhawksworth/serving-for-the-win-deployments-and-infrastructure-for-the-rest-of-us"
status = 302
[[redirects]]
from = "/talks/netlify-intro"
to = "https://speakerdeck.com/philhawksworth/netlify-show-and-tell"
status = 302
[[redirects]]
from = "/talks/wad"
to = "https://noti.st/philhawksworth/8ryB2o/next-wave-infrastructure-and-how-to-use-it-for-an-easier-life"
status = 302