Re:Spark web server
by georgebashi on Wednesday February 12, 2014 @01:49PM
(#7226382)
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>";lol, I love hackers :)
Oh yeah. That's rad.
http://wiki.nginx.org/HttpEchoModule