blog.ari.lt/netlify.toml
Ari Archer 169a3233e4
update @ Wed 16 Mar 23:00:23 EET 2022
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-03-16 23:00:23 +02:00

52 lines
1.1 KiB
TOML

[build]
command = "python3 ./scripts/blog clean && python3 ./scripts/blog build"
[[redirects]]
from = "/git/*"
to = "https://ari-web.xyz/gh/blog.ari-web.xyz/:splat"
status = 301
force = true
[[redirects]]
from = "/favicon.ico"
to = "https://ari-web.xyz/favicon.ico"
status = 200
force = true
[[redirects]]
from = "/robots.txt"
to = "https://ari-web.xyz/robots.txt"
status = 200
force = true
[[redirects]]
from = "/sitemap.xml"
to = "https://ari-web.xyz/sitemap.xml"
status = 200
force = true
[[redirects]]
from = "/blogs/:blog"
to = "https://legacy.blog.ari-web.xyz/blogs/:blog"
status = 301
force = true
[[redirects]]
from = "/netlify.toml"
to = "https://ari-web.xyz/404.files.xyz"
status = 404
force = true
[[redirects]]
from = "/*"
to = "https://ari-web.xyz/404.blog.xyz"
status = 404
force = false
[[headers]]
for = "/*"
[headers.values]
X-XSS-Protection = "1; mode=block"
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"