[TriLUG] Help with proxy setup

Igor Partola igor at igorpartola.com
Thu Dec 5 11:48:00 EST 2013


As far as I know, HAProxy does not support some of the more advanced
features of nginx, like proxy caching, rewriting request and response
headers, URL rewriting, etc. To me, this outweighs the inability to get
stats out of it. In my use cases it just works, so after some initial
tuning there is no need to continue getting stats out of it. The only use
case I can see where you might want this is if your primary service is
actually pumping lots of traffic through your reverse proxy (e.g.: you are
a CDN operator). In that case I think neither HAProxy, nor nginx are your
best choice.

HAProxy does have one thing going for it: it can do TCP proxying, which can
be extremely useful in some non-HTTP cases.

As for loadable modules, nginx users mostly think the monolithic builds are
a feature. You get everything you need and nothing else and you don't have
to worry about enabling/disabling features, etc. In most cases, batteries
are included. There are also alternative builds of nginx which include more
or less functionality, which is great.

Igor



On Thu, Dec 5, 2013 at 9:51 AM, Matt Pusateri <mpusateri at wickedtrails.com>wrote:

> Late to this party, glad you got it resolved.  I recently at previous job
> ran Nginx as a proxy server and the things I didn’t like about it were.  1.
> No dynamic modules, you have to recompile each time if you need a new
> module, not a big deal, but more work.  2. And more important, it was
> extremely difficult to get good stats out of Nginx.  I much preferred
> HA-Proxy.
>
> Matt P.
>
>


More information about the TriLUG mailing list