Oh sorry, I forgot.
Yeah you are right on the configuration file.
People will have to edit that one anyways though.
-Michael
On 14 Apr 2020, at 13:17, ummeegge ummeegge@ipfire.org wrote:
Hi Michael, have updated this package too. Haproxy do not starts with this version without changing the haproxy.cfg .
Error message was: $ /etc/init.d/haproxy start Starting HAProxy... [ALERT] 061/082845 (6269) : parsing [/etc/haproxy/haproxy.cfg:63] : 'frontend' cannot handle unexpected argument '*:5000'. [ALERT] 061/082845 (6269) : parsing [/etc/haproxy/haproxy.cfg:63] : please use the 'bind' keyword for listening addresses. [ALERT] 061/082845 (6269) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg [ALERT] 061/082845 (6269) : Fatal errors found in configuration.
The solution was:
$ diff -u /etc/haproxy/haproxy.cfg.old /etc/haproxy/haproxy.cfg --- /etc/haproxy/haproxy.cfg.old 2020-03-02 08:36:36.685904927 +0100 +++ /etc/haproxy/haproxy.cfg 2020-03-02 08:41:22.951020763 +0100 @@ -60,7 +60,8 @@ #--------------------------------------------------------------------- # 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
May this is useful.
Best,
Erik
Am Dienstag, den 14.04.2020, 11:54 +0000 schrieb Michael Tremer:
This is a security release: https://www.mail-archive.com/haproxy@formilux.org/msg36876.html
Signed-off-by: Michael Tremer michael.tremer@ipfire.org
lfs/haproxy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lfs/haproxy b/lfs/haproxy index d326a090a..62a1c4d10 100644 --- a/lfs/haproxy +++ b/lfs/haproxy @@ -24,7 +24,7 @@
include Config
-VER = 2.1.3 +VER = 2.1.4
THISAPP = haproxy-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -32,7 +32,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = haproxy -PAK_VER = 13 +PAK_VER = 14
DEPS =
@@ -48,7 +48,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = bea4726d8c99f5d9bac0e62906a1f2d0 +$(DL_FILE)_MD5 = 100cccf98aaf3ba80b5fd070866ad115
install : $(TARGET)