forked from adoptium/adoptium.net
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
84 lines (71 loc) · 1.42 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
[build]
publish = "public"
command = "npm run build"
[build.environment]
NODE_OPTIONS = "--max_old_space_size=4096"
NODE_VERSION = "20"
GATSBY_CONCURRENT_DOWNLOAD = "15"
GATSBY_CPU_COUNT = "1"
[[headers]]
for = "/*"
[headers.values]
Strict-Transport-Security = '''
max-age=63072000;
includeSubDomains;
preload'''
[[redirects]]
from = "https://blog.adoptium.net/*"
to = "https://adoptium.net/blog/:splat"
status = 301
force = true
[[redirects]]
from = "/"
query = {variant = ":variant"}
to = "/temurin/releases/"
status = 301
force = true
[[redirects]]
from = "/releases.html"
to = "/temurin/releases"
status = 301
force = true
[[redirects]]
from = "/archive.html"
to = "/temurin/archive"
status = 301
force = true
[[redirects]]
from = "/nightly.html"
to = "/temurin/nightly"
status = 301
force = true
[[redirects]]
from = "/faq.html"
to = "/docs/faq"
status = 301
force = true
[[redirects]]
from = "/migration.html"
to = "/docs/migration"
status = 301
force = true
[[redirects]]
from = "/support.html"
to = "/support"
status = 301
force = true
[[redirects]]
from = "/supported_platforms.html"
to = "/supported-platforms"
status = 301
force = true
[[redirects]]
from = "/marketplace-policy"
to = "/docs/marketplace-policy"
status = 301
force = true
[[redirects]]
from = "/qvs-policy"
to = "/docs/qvs-policy"
status = 301
force = true