OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: jassonmc on September 23, 2024, 09:00:19 PM

Title: HAproxy, unable to set a server to maintenance
Post by: jassonmc on September 23, 2024, 09:00:19 PM
Hello there

It seems that HAproxy does not at all react to whatever changes i make.
I want to put a single backend host into maintenance mode or through what ever means is achievable, that this host is no longer accessible from the outside, so I can run maintenance tasks.

If I set that host into maintenance mode, the website it hosts is still accessible from WAN. If I change the IP address of the backend server to another non existant address, that freakin web page is still loading from WAN.
It doesn't matter what I do, even restart HA proxy, I am totally unable to restrict that access.
HAproxy seems badly broken to me...
Anybody else?

Cheers
Title: Re: HAproxy, unable to set a server to maintenance
Post by: Patrick M. Hausen on September 23, 2024, 10:57:16 PM
I frequently use the maintenance function but only in situations where I have multiple backend servers. The server in maintenance mode will then be exempt from requests.

Do you have more than this particular backend? Maybe if there is only one server that function is simply not available? Would make at least some sense ...