OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • HAproxy, unable to set a server to maintenance
« previous next »
  • Print
Pages: [1]

Author Topic: HAproxy, unable to set a server to maintenance  (Read 465 times)

jassonmc

  • Newbie
  • *
  • Posts: 24
  • Karma: 0
    • View Profile
HAproxy, unable to set a server to maintenance
« 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
Logged

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6925
  • Karma: 583
    • View Profile
Re: HAproxy, unable to set a server to maintenance
« Reply #1 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 ...
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 24.1 Legacy Series »
  • HAproxy, unable to set a server to maintenance
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2