Files
atlantis/netlify.toml
Rui Chen 50cd3d3ac6 feat: migrate off vuepress to vitepress (#4515)
Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: PePe Amengual <jose.amengual@gmail.com>
2024-05-14 18:22:13 +00:00

34 lines
996 B
TOML

# Netlify Config, https://www.netlify.com/docs/netlify-toml-reference/
[build]
base = "/"
publish = "runatlantis.io/.vitepress/dist/"
command = "pnpm website:build"
[[redirects]]
from = "/guide/getting-started.html"
to = "/guide/"
status = 301
force = true
[[redirects]]
from = "/docs/atlantis-yaml-reference.html"
to = "/docs/repo-level-atlantis-yaml.html"
status = 301
force = true
[[headers]]
for = "/*"
[headers.values]
X-Frame-Options = "DENY"
X-XSS-Protection = "1; mode=block"
Content-Security-Policy = "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:"
Cache-Control = "public, max-age=86400, must-revalidate"
Strict-Transport-Security = "max-age=86400; includeSubDomains; preload"
Referrer-Policy = "no-referrer"
X-Content-Type-Options = "nosniff"
[[headers]]
for = "*.html"
[headers.values]
Content-Type = "text/html; charset=UTF-8"