How do I use a custom 503 error page with Nginx?

Solution 1:

add

location = /503.html {
  root /path/to/the/page;
}