From e2ada79459ece6515d1e32613c291624c414c234 Mon Sep 17 00:00:00 2001 From: Ryan O'Hara Date: Thu, 14 Jul 2016 09:59:35 -0500 Subject: [PATCH] Fix main frontend in default config file (#1348674) --- haproxy.cfg | 4 ++-- haproxy.spec | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/haproxy.cfg b/haproxy.cfg index d88c9de..3638ea1 100644 --- a/haproxy.cfg +++ b/haproxy.cfg @@ -64,7 +64,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 @@ -87,4 +88,3 @@ backend app server app2 127.0.0.1:5002 check server app3 127.0.0.1:5003 check server app4 127.0.0.1:5004 check - diff --git a/haproxy.spec b/haproxy.spec index b2c5c80..733d3d7 100644 --- a/haproxy.spec +++ b/haproxy.spec @@ -8,7 +8,7 @@ Name: haproxy Version: 1.6.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: HAProxy reverse proxy for high availability environments Group: System Environment/Daemons @@ -139,6 +139,9 @@ exit 0 %attr(-,%{haproxy_user},%{haproxy_group}) %dir %{haproxy_home} %changelog +* Thu Jul 14 2016 Ryan O'Hara - 1.6.7-2 +- Fix main frontend in default config file (#1348674) + * Thu Jul 14 2016 Ryan O'Hara - 1.6.7-1 - Update to 1.6.7 (#1356578)