I think it would be better to support https://github.com/dlundquist/sniproxy instead of haproxy, because sniproxy can do wildcards, which are needed for e.g. Amazon Instant Video now as it checks region for .*\.eu\.api\.amazonvideo.com.
Also the configuration for sniproxy is very straightforward.
The current rules for Amazon translated to sniproxy are as simple as:
I think it would be better to support https://github.com/dlundquist/sniproxy instead of haproxy, because sniproxy can do wildcards, which are needed for e.g. Amazon Instant Video now as it checks region for
.*\.eu\.api\.amazonvideo.com
.Also the configuration for sniproxy is very straightforward.
The current rules for Amazon translated to sniproxy are as simple as: