diff --git a/nginx.conf b/nginx.conf index 8200938..d3203f0 100644 --- a/nginx.conf +++ b/nginx.conf @@ -35,4 +35,10 @@ server { location / { try_files $uri $uri/ /index.html; } + + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } + } \ No newline at end of file