2021-10-22 09:00:41 +03:00
|
|
|
[build]
|
2022-06-12 10:21:13 +03:00
|
|
|
command = "make netlify"
|
2021-10-22 09:00:41 +03:00
|
|
|
|
2021-09-05 03:49:57 +03:00
|
|
|
[[redirects]]
|
|
|
|
from = "/404.html"
|
2021-09-05 03:52:51 +03:00
|
|
|
to = "/page/404/index.html"
|
2022-01-25 20:43:53 +02:00
|
|
|
status = 302
|
2021-09-05 03:51:38 +03:00
|
|
|
force = true
|
2021-10-23 00:57:35 +03:00
|
|
|
|
2021-10-30 00:18:42 +03:00
|
|
|
[[redirects]]
|
|
|
|
from = "/gentoo_stage3_nmor"
|
|
|
|
to = "https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/releases/amd64/autobuilds/current-stage3-amd64-nomultilib-openrc/"
|
2022-01-23 04:58:28 +02:00
|
|
|
status = 301
|
2021-10-30 00:18:42 +03:00
|
|
|
force = true
|
|
|
|
|
2023-02-12 02:19:48 +02:00
|
|
|
# used to be https://codeberg.org/Ashley/poketube
|
2022-06-29 22:27:51 +03:00
|
|
|
[[redirects]]
|
2022-06-29 23:01:14 +03:00
|
|
|
from = "/yt/*"
|
2023-02-12 02:19:48 +02:00
|
|
|
to = "https://invidious.tiekoetter.com/:splat"
|
2022-06-29 22:27:51 +03:00
|
|
|
status = 302
|
|
|
|
force = true
|
|
|
|
|
2022-09-29 03:41:06 +03:00
|
|
|
[[redirects]]
|
|
|
|
from = "/m"
|
|
|
|
to = "/yt/watch?v=8MMa35B3HT8"
|
|
|
|
status = 302
|
|
|
|
force = true
|
|
|
|
|
2022-08-14 17:37:03 +03:00
|
|
|
# https://codeberg.org/teddit/teddit
|
|
|
|
[[redirects]]
|
|
|
|
from = "/r/*"
|
|
|
|
to = "https://teddit.net/r/:splat"
|
|
|
|
status = 302
|
|
|
|
force = true
|
|
|
|
|
2022-05-27 00:59:22 +03:00
|
|
|
[[redirects]]
|
|
|
|
from = "/api"
|
|
|
|
to = "/api/apis.json"
|
|
|
|
status = 302
|
|
|
|
force = true
|
|
|
|
|
2022-01-17 21:27:22 +02:00
|
|
|
# ARI-WEB-SPECIFIC #
|
|
|
|
|
2022-02-27 12:28:32 +02:00
|
|
|
[[redirects]]
|
|
|
|
from = "/favicon.ico"
|
2023-03-20 15:35:09 +02:00
|
|
|
to = "/favicons/ari-web-down.png"
|
2022-02-27 12:28:32 +02:00
|
|
|
status = 200
|
|
|
|
force = true
|
|
|
|
|
2021-12-13 12:47:53 +00:00
|
|
|
[[redirects]]
|
2022-05-26 21:35:34 +03:00
|
|
|
from = "/user"
|
|
|
|
to = "https://user.ari-web.xyz/"
|
2022-01-23 04:58:28 +02:00
|
|
|
status = 301
|
2022-01-23 02:03:39 +02:00
|
|
|
force = true
|
|
|
|
|
2021-10-30 00:18:42 +03:00
|
|
|
[[redirects]]
|
2022-02-20 02:23:41 +02:00
|
|
|
from = "/git/*"
|
2022-02-20 02:24:48 +02:00
|
|
|
to = "https://github.com/TruncatedDinosour/website/:splat"
|
2022-01-23 04:58:28 +02:00
|
|
|
status = 301
|
2021-10-30 00:18:42 +03:00
|
|
|
force = true
|
|
|
|
|
2021-10-30 01:21:01 +03:00
|
|
|
[[redirects]]
|
2022-02-20 02:31:32 +02:00
|
|
|
from = "/dotfiles/*"
|
|
|
|
to = "https://github.com/TruncatedDinosour/dotfiles-cleaned/:splat"
|
2022-01-23 04:58:28 +02:00
|
|
|
status = 301
|
2021-10-30 01:21:01 +03:00
|
|
|
force = true
|
2022-04-21 19:58:25 +03:00
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/tdotfiles/*"
|
|
|
|
to = "https://github.com/TruncatedDinosour/dotfiles-termux/:splat"
|
|
|
|
status = 301
|
|
|
|
force = true
|
2021-10-30 01:21:01 +03:00
|
|
|
|
2021-10-30 01:57:17 +03:00
|
|
|
[[redirects]]
|
2021-10-30 02:03:01 +03:00
|
|
|
from = "/dotfile/:distro/*"
|
|
|
|
to = "https://github.com/TruncatedDinosour/dotfiles-cleaned/tree/:distro/:splat"
|
2022-01-23 04:58:28 +02:00
|
|
|
status = 301
|
2021-10-30 01:57:17 +03:00
|
|
|
force = true
|
|
|
|
|
2022-01-29 22:08:41 +02:00
|
|
|
[[redirects]]
|
2022-02-20 02:31:32 +02:00
|
|
|
from = "/overlay/*"
|
|
|
|
to = "https://github.com/TruncatedDinosour/dinolay/:splat"
|
2022-01-23 04:58:28 +02:00
|
|
|
status = 301
|
2021-10-30 23:03:42 +03:00
|
|
|
force = true
|
|
|
|
|
|
|
|
[[redirects]]
|
2021-10-31 03:10:11 +03:00
|
|
|
from = "/gentooatom/*"
|
2021-10-30 23:03:42 +03:00
|
|
|
to = "https://github.com/TruncatedDinosour/dinolay/tree/main/:splat"
|
2022-01-23 04:58:28 +02:00
|
|
|
status = 301
|
2021-10-30 23:03:42 +03:00
|
|
|
force = true
|
|
|
|
|
2022-02-20 06:21:34 +02:00
|
|
|
# https://answers.netlify.com/t/how-do-i-do-cross-domain-redirects-to-github-repositories-from-netlify/52258/2?u=b00bleatea
|
|
|
|
[[redirects]]
|
|
|
|
from = "/gh/*"
|
|
|
|
to = "https://github.com/TruncatedDinosour/:splat"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
|
|
|
## BACKWARDS COMPATIBILITY ##
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/data/*"
|
|
|
|
to = "https://files.ari-web.xyz/files/:splat"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
|
|
|
[[redirects]]
|
2022-03-11 14:03:57 +02:00
|
|
|
from = "/page/blog/*"
|
2022-03-11 14:17:22 +02:00
|
|
|
to = "https://blog.ari-web.xyz/:splat"
|
2022-02-20 06:21:34 +02:00
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
2022-02-20 09:00:57 +02:00
|
|
|
[[redirects]]
|
|
|
|
from = "/page/blog"
|
|
|
|
to = "https://blog.ari-web.xyz/"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
2022-09-03 14:18:46 +03:00
|
|
|
[[redirects]]
|
|
|
|
from = "/90s.html"
|
|
|
|
to = "/page/90s/index.html"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
2022-10-01 02:58:24 +03:00
|
|
|
[[redirects]]
|
|
|
|
from = "/etc"
|
|
|
|
to = "https://etc.ari-web.xyz/"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
2022-02-20 06:21:34 +02:00
|
|
|
####################
|
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/gentoo_stage3_nmorh"
|
|
|
|
to = "https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/releases/amd64/autobuilds/current-stage3-amd64-hardened-nomultilib-openrc/"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
2021-11-03 03:35:28 +02:00
|
|
|
[[redirects]]
|
|
|
|
from = "/mp"
|
|
|
|
to = "https://www.youtube.com/playlist?list=PL7UuKajElTaChff3BkcJE6620lSuSUaDC"
|
2022-01-23 04:58:28 +02:00
|
|
|
status = 301
|
2021-11-03 03:35:28 +02:00
|
|
|
force = true
|
|
|
|
|
2022-09-17 23:14:53 +03:00
|
|
|
[[redirects]]
|
|
|
|
from = "/mr"
|
|
|
|
to = "https://blog.ari-web.xyz/b/my-music-artist-recommendations/"
|
|
|
|
status = 301
|
|
|
|
force = true
|
|
|
|
|
2021-10-30 00:29:55 +03:00
|
|
|
[[redirects]]
|
|
|
|
from = "/:page"
|
|
|
|
to = "/page/:page"
|
2022-01-25 20:43:53 +02:00
|
|
|
status = 302
|
2021-10-30 00:29:55 +03:00
|
|
|
force = false
|
|
|
|
|
2021-10-23 00:58:42 +03:00
|
|
|
[[redirects]]
|
|
|
|
from = "/*"
|
|
|
|
to = "/page/404/index.html"
|
|
|
|
status = 404
|
|
|
|
force = false
|
2021-11-03 03:35:28 +02:00
|
|
|
|
2022-06-05 21:02:43 +03:00
|
|
|
# Processing
|
|
|
|
[build.processing]
|
|
|
|
skip_processing = false
|
|
|
|
|
|
|
|
[build.processing.html]
|
|
|
|
pretty_urls = false
|
|
|
|
|
|
|
|
[build.processing.css]
|
|
|
|
bundle = true
|
|
|
|
minify = true
|
|
|
|
|
|
|
|
[build.processing.js]
|
|
|
|
bundle = false
|
|
|
|
minify = true
|
|
|
|
|
|
|
|
[build.processing.images]
|
|
|
|
compress = true
|
|
|
|
# --------------
|
|
|
|
|
2022-09-23 01:12:37 +03:00
|
|
|
[[headers]]
|
|
|
|
for = "/api/*"
|
|
|
|
|
|
|
|
[headers.values]
|
|
|
|
Access-Control-Allow-Origin = "*"
|
2022-09-23 01:18:49 +03:00
|
|
|
Access-Control-Allow-Methods = "GET"
|
2022-09-23 01:12:37 +03:00
|
|
|
|
2022-09-23 01:39:49 +03:00
|
|
|
[[headers]]
|
|
|
|
for = "/api_hash/*"
|
|
|
|
|
|
|
|
[headers.values]
|
|
|
|
Access-Control-Allow-Origin = "*"
|
|
|
|
Access-Control-Allow-Methods = "GET"
|
|
|
|
|
2022-03-16 22:57:20 +02:00
|
|
|
[[headers]]
|
|
|
|
for = "/*"
|
|
|
|
|
|
|
|
[headers.values]
|
|
|
|
Strict-Transport-Security = "max-age=63072000; includeSubDomains; preload"
|
2022-04-30 22:32:26 +03:00
|
|
|
X-Frame-Options = "deny"
|
2022-03-18 15:56:49 +02:00
|
|
|
X-Content-Type-Options = "nosniff"
|
2022-03-18 16:08:05 +02:00
|
|
|
Content-Security-Policy = "upgrade-insecure-requests"
|
2022-03-18 16:02:19 +02:00
|
|
|
X-Permitted-Cross-Domain-Policies = "none"
|
|
|
|
Referrer-Policy = "no-referrer"
|