-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathnetlify.toml
105 lines (88 loc) · 2.47 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
# example netlify.toml
[build]
command = "hugo --gc --minify"
functions = "netlify/functions"
publish = "public"
[build.environment]
HUGO_VERSION = "0.130.0"
HUGO_ENABLEGITINFO = "true"
## Uncomment to use this redirect for Single Page Applications like create-react-app.
## Not needed for static site generators.
#[[redirects]]
# from = "/*"
# to = "/index.html"
# status = 200
## (optional) Settings for Netlify Dev
## https://github.com/netlify/cli/blob/master/docs/netlify-dev.md#project-detection
#[dev]
# command = "yarn start" # Command to start your dev server
# port = 3000 # Port that the dev server will be listening on
# publish = "dist" # Folder with the static content for _redirect file
## more info on configuring this file: https://www.netlify.com/docs/netlify-toml-reference/
[context.deploy-preview]
command = "hugo -b $DEPLOY_PRIME_URL"
[[redirects]]
from = "https://memorysafety.dev/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.memorysafety.dev/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://memorysafety.com/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.memorysafety.com/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://memorysafety.net/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.memorysafety.net/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://goprossimo.com/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.goprossimo.com/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://goprossimo.net/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.goprossimo.net/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://goprossimo.org/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "https://www.goprossimo.org/*"
to = "https://www.memorysafety.org/:splat"
status = 301
force = true
[[redirects]]
from = "/*"
to = "/404.html"
status = 404
force = false