Changing a default 503 message "Application is not available"
Issue
- 503 HTTP response status code is returned if no pod is available and when the URI has a wrong target. How to change a default error message?
- it's not possible to easily customize the HAProxy 2.x error page as deployed in OpenShift
- how to change the default 503 message in a supported way
- customization of haproxy.config template is too cumbersome (and not officially supported)
Environment
OpenShift 4.1 - 4.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.