Application Gateway allows you to create customized error pages instead of displaying default ones.
Until now, it was allowing to customize only the HTTP 403 (Forbidden) and HTTP 502 (Bad Gateway) error codes.
Well, good news as now you can also customize 6 additional error codes:
- 400 – Bad Request
- 405 – Method Not Allowed
- 408 – Request Timeout
- 500 – Internal Server Error
- 503 – Service Unavailable
- 504 – Gateway Timeout
You can customize these codes during the Application Gateway provisioning when configuring the Listener by showing more status code
Or by editing your existing gateway by accessing the Listeners tab of the gateway and select the listener you want to customize the error codes under the Custom error pages section