make nginx serve static files and maintenance takedown properly