diff options
author | Przemyslaw Pawelczyk <przemoc@zoho.com> | 2016-06-28 22:38:45 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-06-29 09:48:24 +0000 |
commit | 9ec1afd13ac60aad9acc109c18788db8ff00035e (patch) | |
tree | dfecd4c932947c450e396102a0be242b2521c744 /main/haproxy/haproxy.cfg | |
parent | cf6482d5c21bd683c090bedefe0abc9dd1866906 (diff) |
main/haproxy: Fix default haproxy.cfg not working since upgrade to 1.6.
You could read following messages when starting haproxy:
'frontend' cannot handle unexpected argument '*:5000'.
please use the 'bind' keyword for listening addresses.
* haproxy.cfg: Use bind for listening addresses.
* APKBUILD: Update checksums.
Diffstat (limited to 'main/haproxy/haproxy.cfg')
-rw-r--r-- | main/haproxy/haproxy.cfg | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/haproxy/haproxy.cfg b/main/haproxy/haproxy.cfg index 6f635e821df..cf399e8447e 100644 --- a/main/haproxy/haproxy.cfg +++ b/main/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 |