I'm working on a web UI for administering the haproxy config and I have a 
question I can't find the answer to in the documentation. Are the listener 
blocks unique with respect to IP:port? That is, is this valid:


listen
  bind 1.2.3.4:80
  acl someAcl...
  server 1.2.5.1 ifsomeAcl

listen
  bind 1.2.3.4:80
  acl someOtherAcl...
  server 1.2.5.1 if someOtherAcl

Are these listeners like a Unix listener, only one unique IP:port pair is 
allowed. Or are duplicates OK and they are executed in order from the top to 
the bottom under a backend server is matched?


Thanks
Ari Maniatis

--
-------------------------->
Aristedes Maniatis
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A

Reply via email to