Ultra simple website to tell people a service is down https://down.depeuter.dev
Find a file
2023-08-04 15:44:52 +02:00
assets Add icon and make images local 2023-08-03 18:38:27 +02:00
index.html Add broken status message 2023-08-04 01:29:43 +02:00
package-lock.json Add package.json 2023-08-04 15:43:19 +02:00
package.json Add package.json 2023-08-04 15:43:19 +02:00
README.md Add documentation 2023-08-04 15:44:52 +02:00
script.js Move some things around 2023-08-04 15:12:24 +02:00
style.css Add broken status message 2023-08-04 01:29:43 +02:00

down-message

Netlify Status

Ultra simple website to tell people a service is down

Starting the website

npm run start

Setup networking

Using Cloudflare

If you want to use Cloudflare to handle redirection to the website, you can use Page Rules.

First, make sure the DNS records for the (sub-) domains you want to redirect are being proxied through Cloudflare. Then, head over to Redirect Rules (Page Rules are harder to configure, and it seems like Cloudflare itself is more keen of Redirect Rules too).

Create a Single Redirect rule that looks similar to:

# When incoming requests match...
(http.host in {"example.com" "another.example.com"})

# Then URL redirect
Dynamic
concat("https://your.host.tdl/?destination=", http.request.full_uri)
302

Enable the rule and everything should be set!