-
Notifications
You must be signed in to change notification settings - Fork 1k
/
netlify.toml
32 lines (28 loc) · 771 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
# Netlify Config, https://www.netlify.com/docs/netlify-toml-reference/
[build]
base = "/"
command = "npm install && npm run website:build"
publish = "runatlantis.io/.vitepress/dist/"
[[redirects]]
force = true
from = "/guide/getting-started.html"
status = 301
to = "/guide/"
[[redirects]]
force = true
from = "/docs/atlantis-yaml-reference.html"
status = 301
to = "/docs/repo-level-atlantis-yaml.html"
[[headers]]
for = "/*"
[headers.values]
Cache-Control = "public, max-age=86400"
Referrer-Policy = "no-referrer"
Strict-Transport-Security = "max-age=86400; includeSubDomains; preload"
X-Content-Type-Options = "nosniff"
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
[[headers]]
for = "*.html"
[headers.values]
Content-Type = "text/html; charset=UTF-8"