-
Notifications
You must be signed in to change notification settings - Fork 164
/
Copy pathnetlify.toml
48 lines (39 loc) · 1.1 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
[build]
publish = "_site"
command = "./build-website.sh"
ignore = "./netlify-should-run.sh"
[[headers]]
# All not latest documentation.
for = "/docs/envoy/v*"
[headers.values]
# https://support.google.com/webmasters/answer/93710?hl=en
# Do not index.
X-Robots-Tag = "noindex"
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "frame-ancestors 'self';"
[build.environment]
YARN_VERSION = "1.22.10"
NODE_OPTIONS="--max-old-space-size=8192"
BAZELISK_HOME="/opt/build/cache/bazelisk"
[context.production.environment]
JEKYLL_ENV = "production"
[context.branch-deploy.environment]
JEKYLL_ENV = "staging"
[context.deploy-preview.environment]
JEKYLL_ENV = "staging"
# Redirect to Slack invite link.
[[redirects]]
from = "/slack"
to = "https://join.slack.com/t/envoyproxy/shared_invite/zt-1fuxyzagj-jfO6OXk0zKOmIW35XkanXw"
status = 302
[[redirects]]
from = "/docs/envoy/latest/*"
to = "/docs/envoy/latest/:splat"
status = 200
[[redirects]]
from = "/docs/envoy/*"
to = "https://main--envoy-archive.netlify.app/docs/envoy/:splat"
status = 200
force = true