Custom error page for 502 error

i need to create a custom error page when application is getting restart, i have created the page and deployed still custom page is not getting reflected. i am receiving 502 error code from server on restart/ manual stopping the application. 502 Bad Gateway: Registered endpoint failed to handle the request. i have followed the   
0 answers