I'm looking for a technique to redirect traffic from port 80 to a maintenance page (on a different port) as soon and as long as port 80 is not bound, on Linux.
Level Up Your 404, 500, and Maintenance Pages
11–13 of 13 posts
Re: Level Up Your 404, 500, and Maintenance Pages
#12I'm looking for a technique to redirect traffic from port 80 to a maintenance page (on a different port) as soon and as long as port 80 is not bound, on Linux.
Why the hard requirement to monitor port binding? Isn't HAProxy sufficient to do what you need? It can do maintenance page redirection if none of its backends are available.
Re: Level Up Your 404, 500, and Maintenance Pages
#13Pretty cool way to capture leads. I hope you guys post the results of this experiment on growthhackers
That's actually a really good idea I hadn't thought of that. Thanks!
Plus, it'd let your users promote their branding (upvote/downvote icons in that specific case) which is a win-win.
At minimum, some custom title text ('[user's main offering] is up'/'down' etc) would make a lot of sense, but I really think the favicons are simple enough (both to implement and to understand) and visible enough to be worth it too - it'd allow for at-a-glance uptime information [2].
[1] http://www.reddit.com/r/ideasfortheadmins/comments/36w2s3/ha...