-
Notifications
You must be signed in to change notification settings - Fork 112
/
netlify.toml
47 lines (40 loc) · 1020 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
[build]
publish = "build/dirhtml"
command = "make dirhtml"
[[redirects]]
# Redirect old wiki domain
from = "https://wiki.uberspace.de/*"
to = "https://manual.uberspace.de/"
status = 301
force = true
[[redirects]]
# Redirect domain aliases to primary domain
from = "https://manual-72.uberspace.de/*"
to = "https://manual.uberspace.de/:splat"
status = 301
force = true
[[redirects]]
# Redirect default Netlify subdomain to primary domain
from = "https://manual-uberspace-de.netlify.com/*"
to = "https://manual.uberspace.de/:splat"
status = 301
force = true
[[redirects]]
# Remove `/en` language prefix from path
from = "/en/*"
to = "/:splat"
status = 200
force = true
[[redirects]]
from = "/web-security.html"
to = "/web-security-headers.html"
force = true
[[redirects]]
from = "/web-security"
to = "/web-security-headers"
force = true
# disabled because of problems with .html forwards
#[[redirects]]
# from = "*"
# to = "_static/404.html"
# status = 404