Hacker News new | ask | show | jobs
by georgebashi 4507 days ago
You don't actually need echo, you can use return from the rewrite module (which is compiled in by default).

    return 503 "<h1>Maintenance</h1><p>will be back soon!</p>";
2 comments

lol, I love hackers :)
Oh yeah. That's rad.