HAproxy ACL host-regex match any IP address
-
Hi,
On my pfSense I use HA Proxy in HTTP mode and configured an ACL as follows:
ip_regex Host regex: no no \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
The action is as follows:
Use Backend See below ip_regex
If I request the page via http://<ip-address> I get back a "503 Service Unavailable" ??
The same analogy with "Host matches" for an FQDN works perfectly.
Can someone give me a hit pls?
Thx
-
@aracloud
using https? and certificate acl's checkbox set ?-edit-
uh sorry you Already mention using http..check that the browser is actually sending a Host header ?