How to Gracefully Handle Downtime with Nginx (and a 503 Status Code)

We’ve all faced this at some point. It’s deployment time. You’re about to push a large update, so you SSH into your server, pause for a…