[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: 503 - Maintenance page

Not clear if you want the router to automatically serve the 503 page or not. If you do, this line in the haproxy config template:     

automatically sends a 503 page if your service is down (example has 0 pods backing the service). 
The actual error page template is at:  

You could customize the template and/or error page (and the router image) to use a different page.

Alternatively, if you desire some other behavior, you can disable it by removing that haproxy directive. Does still need a custom template + router image. 


On Mon, Jun 6, 2016 at 12:58 PM, Philippe Lafoucrière <philippe lafoucriere tech-angels com> wrote:
Sorry for the confusion. I'm not updating the routeR, I'm updating the route directly. The route to our website is pointing to a "maintenance" service during maintenance. This service serves 503 pages for most URLs, except a few for testing purprose.

The problem is: If I browse my website, I get the expected 503 code, but a blank page, instead of the desired maintenance page served by the "maintenance" pods. I don't understand this blank page, it's like haproxy is not forwarding it because the pods responded with a 503.

@v: Can I use a dedicated router per project?

users mailing list
users lists openshift redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]