Hi, I have a haproxy reverse proxy because I have only one ip address for multiple servers. So far everything runs fine with the standards I found on the internet. There is only one webserver (zammad with nginx webserver) which is giving some troubles.
I can login and work with the system, but after a couple of minutes or if I make a browser refresh, I get a popup with the following infomration:
StatusCode: 503
<html><body><h1>503 Service Unavailable</h1>
No server is available to handle this request.
</body></html>
If I press OK multiple times, I can keep on working.
Is the backend server going down on Haproxy stats page or in logfile when you get the error ?
The 503 error is commonly used when there is no valable backend. So check your health check config and have a look on the log files. You should be able to find the reason of theses errors.
You can set timeout to the backend section to only match these servers. I don’t know if it’s possible to set up different timeout per server in backend section.