Skip to content
deploy-and.run

deploy-and.run

Who merges so late, past midnight's chime, still pushing bugs to master's line?

  • WordPress & Performance
  • Server & Infrastructure
  • DevOps & Automation
  • Tooling & AI
  • Notes

nginx

nginx configuration for WordPress: rewrite rules, caching headers, and the server blocks behind a working deploy.

The Control Panel Ate My Maintenance Page

November 15, 2026November 12, 2026 by halimat
nginx config sketch: an inline return 503 with an HTML page is stored as return 503 with an empty string; the fix maps 502, 503 and 504 to a maintenance page file with status 503.

A 503 maintenance page inlined into an nginx vhost saved without error and served an empty body: the hosting panel that owns the vhost strips HTML on save. The first explanation for it was wrong too. The fix is a page that lives in a file, and a vhost block with no angle brackets in it at all — not even in comments.

Categories Server & Infrastructure Tags debugging, devops, infrastructure, nginx

Recent Posts

  • Two Rewrite Changes That 404’d Every Post on This Blog
  • The Control Panel Ate My Maintenance Page
  • Boot the Release Against a Copy of Production Before You Switch
  • rsync -a Stole the setgid Bit, and systemd Blocked the Rollback
  • The Stuck Posts That Were Just Scheduled

About deploy-and.run

© 2026 deploy-and.run • Built with GeneratePress