Haproxy load-balanced web cluster with different backends through acl's


/ Published in: Other
Save to your folder(s)

How to send load-balanced requests to a web cluster and split the requests to different server pools based on specific ACL rules.

This configuration sends files ending with .php to a pool of "dynamic" web servers (running Apache).

It sends all other files (.js, .jpg, .css, .html) to a pool of "static" web servers (running Lighttpd).

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.