Skip to content

(Mirror) Ultra simple website to tell people a service is down

Notifications You must be signed in to change notification settings

tdpeuter/down-message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

down-message

Netlify Status

Ultra simple website to tell people a service is down

Starting the website

npm run start

Setup networking

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!

About

(Mirror) Ultra simple website to tell people a service is down

Resources

Stars

Watchers

Forks