-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnetlify.toml
66 lines (52 loc) · 1.46 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
[build]
command = "hugo --gc --minify -b $URL"
[build.environment]
HUGO_VERSION = "0.120.4"
HUGO_ENABLEGITINFO = "true"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
[[headers]]
for = "*.webmanifest"
[headers.values]
Content-Type = "application/manifest+json; charset=UTF-8"
[[headers]]
for = "index.xml"
[headers.values]
Content-Type = "application/rss+xml"
[[headers]]
for = "/*"
[headers.values]
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
Permissions-Policy = "interest-cohort=()"
[[headers]]
for = "/.well-known/matrix/*"
[headers.values]
Access-Control-Allow-Origin = "*"
[[redirects]]
from = "https://thomwiggers.com/*"
to = "https://thomwiggers.nl/:splat"
status = 301
[[redirects]]
from = "https://www.thomwiggers.com/*"
to = "https://thomwiggers.nl/:splat"
status = 301
[[redirects]]
from = "https://wggrs.nl/p/*"
to = "https://thomwiggers.nl/publication/:splat"
status = 301
[[redirects]]
from = "https://wggrs.nl/*"
to = "https://thomwiggers.nl/:splat"
status = 301
[[redirects]]
from = "https://www.wggrs.nl/*"
to = "https://thomwiggers.nl/:splat"
status = 301
[[redirects]]
from = "https://thomwiggers.nl/defense/"
to = "https://thomwiggers.nl/talk/phd-defense/"
status = 301