server {
listen 80;
server_name my-domain-name.com;
error_page 500 502 503 504 /error.html;
location = /error.html {
root html;
}
location / {
}
}