Redirecting based on the PROTOCOL -- possible?

From: Unai Rodriguez <me#u-journal.org>
Date: Thu, 07 Feb 2008 18:07:30 +0800


Dear all,

Would it be possible to set HAPROXY so it redirects traffic based on the PROTOCOL? Something like this (I know the keywords don't exist, it is just a hypothesis):

[haproxy.cfg]

...
...
...
listen http_requests 1.1.1.1:80 PROTOCOL=HTTP

...
...
...
listen tcp_requests 1.1.1.1:80 PROTOCOL=TCP
...
...
...

[haproxy.cfg]

NOTE: yeah, both listen on the same IP and port, the only difference is the protocol.

thanks,
unai Received on 2008/02/07 11:07

This archive was generated by hypermail 2.2.0 : 2008/02/07 11:15 CET