2022-03-11 13:35:37 +02:00
|
|
|
[build]
|
2022-04-07 22:32:55 +03:00
|
|
|
command = "CI_BUILD=1 python3 ./scripts/blog static"
|
2022-03-11 13:35:37 +02:00
|
|
|
|
|
|
|
[[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]]
|
2022-03-11 14:08:05 +02:00
|
|
|
from = "/blogs/:blog"
|
2022-03-11 14:18:41 +02:00
|
|
|
to = "https://legacy.blog.ari-web.xyz/blogs/:blog"
|
2022-03-11 14:08:05 +02:00
|
|
|
status = 301
|
2022-03-11 13:35:37 +02:00
|
|
|
force = true
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/netlify.toml"
|
2022-03-18 20:34:42 +02:00
|
|
|
to = "https://ari-web.xyz/404.blog.xyz"
|
2022-03-11 13:35:37 +02:00
|
|
|
status = 404
|
|
|
|
force = true
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/*"
|
2022-03-13 00:01:36 +02:00
|
|
|
to = "https://ari-web.xyz/404.blog.xyz"
|
2022-03-11 13:35:37 +02:00
|
|
|
status = 404
|
|
|
|
force = false
|
|
|
|
|
2022-03-16 23:00:23 +02:00
|
|
|
[[headers]]
|
|
|
|
for = "/*"
|
|
|
|
|
|
|
|
[headers.values]
|
|
|
|
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
|
2022-04-30 22:31:48 +03:00
|
|
|
X-Frame-Options = "deny"
|
2022-03-18 16:14:55 +02:00
|
|
|
X-Content-Type-Options = "nosniff"
|
2022-03-18 17:15:46 +02:00
|
|
|
Content-Security-Policy = "upgrade-insecure-requests; sandbox; script-src 'sha512-v'; object-src 'none';"
|
2022-03-18 16:14:55 +02:00
|
|
|
X-Permitted-Cross-Domain-Policies = "none"
|
|
|
|
Referrer-Policy = "no-referrer"
|
2022-03-16 23:00:23 +02:00
|
|
|
|