2022-03-11 13:35:37 +02:00
|
|
|
[build]
|
2023-08-29 10:27:14 +03:00
|
|
|
command = "python3 ./scripts/blog.py static && rm -rf ./scripts/"
|
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]]
|
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
|
|
|
|
|
2022-05-26 22:02:50 +03:00
|
|
|
[[redirects]]
|
|
|
|
from = "/c"
|
|
|
|
to = "https://user.ari-web.xyz/"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
2022-03-11 13:35:37 +02:00
|
|
|
[[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
|
|
|
|
|
2023-05-19 18:24:02 +03:00
|
|
|
[[redirects]]
|
|
|
|
from = "/visit"
|
|
|
|
to = "https://server.ari-web.xyz/visit"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
2022-12-15 18:31:28 +02:00
|
|
|
[[redirects]]
|
|
|
|
from = "/*"
|
|
|
|
to = "https://ari-web.xyz/404.blog.xyz"
|
|
|
|
status = 404
|
|
|
|
force = false
|
|
|
|
|
2022-06-05 20:53:02 +03:00
|
|
|
# Processing
|
2022-06-05 20:55:56 +03:00
|
|
|
[build.processing]
|
|
|
|
skip_processing = false
|
|
|
|
|
2022-06-05 21:09:07 +03:00
|
|
|
[build.processing.html]
|
|
|
|
pretty_urls = true
|
|
|
|
|
2022-06-05 20:49:26 +03:00
|
|
|
[build.processing.css]
|
|
|
|
bundle = true
|
2022-06-05 21:09:07 +03:00
|
|
|
minify = false
|
2022-06-05 20:49:26 +03:00
|
|
|
|
2022-06-05 21:09:07 +03:00
|
|
|
[build.processing.js]
|
|
|
|
bundle = false
|
|
|
|
minify = false
|
2022-06-05 20:49:26 +03:00
|
|
|
|
|
|
|
[build.processing.images]
|
|
|
|
compress = true
|
|
|
|
# --------------
|
|
|
|
|
2022-08-09 05:12:40 +03:00
|
|
|
# This has been replaced, currently I'm looking how
|
|
|
|
# JavaScript blocking is affecting my statistics
|
|
|
|
# as it seems like most people are much more interested
|
|
|
|
# in the legacy blog, not sure why, but it might have
|
|
|
|
# something to do with the content blocking features
|
|
|
|
# that is JavaScript blocking, even though both
|
|
|
|
# the legacy blog and the non-legacy blogs have JavaScript
|
|
|
|
# blocking
|
|
|
|
|
|
|
|
# Content-Security-Policy = "upgrade-insecure-requests; sandbox; script-src 'sha512-v'; object-src 'none';"
|
|
|
|
|
2022-09-23 01:08:00 +03:00
|
|
|
[[headers]]
|
|
|
|
for = "/blog.json"
|
|
|
|
|
|
|
|
[headers.values]
|
|
|
|
Access-Control-Allow-Origin = "*"
|
2022-09-23 01:17:55 +03:00
|
|
|
Access-Control-Allow-Methods = "GET"
|
2022-09-23 01:08:00 +03:00
|
|
|
|
2022-09-23 01:44:26 +03:00
|
|
|
[[headers]]
|
|
|
|
for = "/blog_json_hash.txt"
|
|
|
|
|
|
|
|
[headers.values]
|
|
|
|
Access-Control-Allow-Origin = "*"
|
|
|
|
Access-Control-Allow-Methods = "GET"
|
|
|
|
|
2023-04-04 22:44:32 +03:00
|
|
|
[[headers]]
|
|
|
|
for = "/recents_json_hash.txt"
|
|
|
|
|
|
|
|
[headers.values]
|
|
|
|
Access-Control-Allow-Origin = "*"
|
|
|
|
Access-Control-Allow-Methods = "GET"
|
|
|
|
|
|
|
|
[[headers]]
|
|
|
|
for = "/recents.json"
|
|
|
|
|
|
|
|
[headers.values]
|
|
|
|
Access-Control-Allow-Origin = "*"
|
|
|
|
Access-Control-Allow-Methods = "GET"
|
|
|
|
|
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-08-09 05:12:40 +03:00
|
|
|
Content-Security-Policy = "upgrade-insecure-requests"
|
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
|
|
|
|