diff --git a/config/haproxy/haproxy.cfg b/config/haproxy/haproxy.cfg index 9d372f63f..32dff328f 100644 --- a/config/haproxy/haproxy.cfg +++ b/config/haproxy/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 diff --git a/config/rootfiles/oldcore/143/update.sh b/config/rootfiles/oldcore/143/update.sh index 8ae8e2c5b..41d1d63b3 100644 --- a/config/rootfiles/oldcore/143/update.sh +++ b/config/rootfiles/oldcore/143/update.sh @@ -61,7 +61,9 @@ extract_files ldconfig # remove wrong vnstat tag file +/etc/init.d/vnstat stop rm -f /var/log/vnstat/tag +/etc/init.d/vnstat start # set /var/spool/cron to cron user chown cron:cron /var/spool/cron 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)