I was working on my site and suddenly began receiveing 500 errors from all of my html files.
I created a brand new site and deployed fresh from a commit from 24 hours ago and I still get the same issue.
https://extraordinary-centaur-f9eeaa.netlify.app/index.html
Other types of file are working completely fine:
https://extraordinary-centaur-f9eeaa.netlify.app/style.css
https://extraordinary-centaur-f9eeaa.netlify.app/sitemap.xml
https://extraordinary-centaur-f9eeaa.netlify.app/favicon-32x32.png
The build is completing ok, all the files exist. I have pulled down the zip of the artifacts and looked through, all the html files appear correct.
I have no idea how to look into this any further as there is no logging of what caused the 500 error, I don’t believe I have changed any config recently and creating a new site hasn’t helped, so the only issue would be in my netlify.toml (below) which hasn’t changed any time recently.
Any ideas would be apreciated.
[build]
command= "npm run build"
publish = "build"
[build.processing]
skip_processing = false
[build.processing.html]
pretty_urls = true
[[plugins]]
package = "netlify-plugin-cache"
[plugins.inputs]
paths = [
"build/img/generated",
".cache"
]
[[headers]]
for = "/*"
[headers.values]
Cache-Control = "public, max-age=31536000"
# Domain redirects
[[redirects]]
from = "https://redboxmobile.co.uk"
to = "https://redboxmobile.com"
status = 301
force = true
[[redirects]]
from = "https://www.redboxmobile.co.uk"
to = "https://redboxmobile.com"
status = 301
force = true
[[redirects]]
from = "https://redbox-mobile.com"
to = "https://redboxmobile.com"
status = 301
force = true
[[redirects]]
from = "https://www.redbox-mobile.com"
to = "https://redboxmobile.com"
status = 301
force = true
[[redirects]]
from = "https://www.asotoolkit.com"
to = "https://redboxmobile.com/aso-toolkit-terms/"
status = 301
force = true
[[redirects]]
from = "https://asotoolkit.com"
to = "https://redboxmobile.com/aso-toolkit-terms/"
status = 301
force = true
[[redirects]]
from = "https://www.asotoolkit.app"
to = "https://redboxmobile.com/aso-toolkit-terms/"
status = 301
force = true
[[redirects]]
from = "https://asotoolkit.app"
to = "https://redboxmobile.com/aso-toolkit-terms/"
status = 301
force = true
[[redirects]]
from = "https://www.redboxmobile.co"
to = "https://redboxmobile.com"
status = 301
force = true
[[redirects]]
from = "https://redboxmobile.co"
to = "https://redboxmobile.com"
status = 301
force = true
[[redirects]]
from = "/*/index.html"
to = "/:splat/"
status = 301
force = true
[[redirects]]
from = "/index.html"
to = "/"
status = 301
force = true