Y
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
rif
4507 days ago
lol, I love hackers :)
link
dangayle
4507 days ago
Oh yeah. That's rad.
link