diff --git a/haproxy.cfg b/haproxy.cfg index 4188e6a91..cff282800 100644 --- a/haproxy.cfg +++ b/haproxy.cfg @@ -60,7 +60,8 @@ defaults #--------------------------------------------------------------------- # main frontend which proxys to the backends #--------------------------------------------------------------------- -frontend main *:5000 +frontend main + bind *:5000 acl url_static path_beg -i /static /images /javascript /stylesheets acl url_static path_end -i .jpg .gif .png .css .js