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 | |
parent | cf6482d5c21bd683c090bedefe0abc9dd1866906 (diff) | |
download | aports-9ec1afd13ac60aad9acc109c18788db8ff00035e.tar.bz2 aports-9ec1afd13ac60aad9acc109c18788db8ff00035e.tar.xz |
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.
-rw-r--r-- | main/haproxy/APKBUILD | 6 | ||||
-rw-r--r-- | main/haproxy/haproxy.cfg | 3 |
2 files changed, 5 insertions, 4 deletions
diff --git a/main/haproxy/APKBUILD b/main/haproxy/APKBUILD index 1558e02a56..2f501a7006 100644 --- a/main/haproxy/APKBUILD +++ b/main/haproxy/APKBUILD @@ -51,10 +51,10 @@ wrapper() { md5sums="b418d83cf4f2da328f6eb8c255b8716b haproxy-1.6.6.tar.gz c2b6a08009c1eaad4ec1f0ae778d1a04 haproxy.initd -463f00b30bfb002750d5c5549382365f haproxy.cfg" +6491eaf04478dee07a2b68a70326d07f haproxy.cfg" sha256sums="fdb03d63078cc3c688bb6d39fc75dcc158d65356e4c8e1c459033ebeddff55f5 haproxy-1.6.6.tar.gz 33a164deedb83eba3a976ad5e299850d7d333d4f08247b51da01ac7f3e10343f haproxy.initd -7e3c03acb9a41e21e21059da609e694e6dd952d9a37297bd39cad37680af213f haproxy.cfg" +d1f00a70b79d8ad2507a8b29a0f188877c3d5434c3ec432e46a12141fdafab2a haproxy.cfg" sha512sums="66503bb9bb33bf345d5e9351fa8a0aea2ef8c3c2870d35ee2f1e4f8e79ed66b3936e7410ce79571901a9936a2eec3695ce3080bb664200fb55040b1ef1f7f888 haproxy-1.6.6.tar.gz 3ab277bf77fe864ec6c927118dcd70bdec0eb3c54535812d1c3c0995fa66a3ea91a73c342edeb8944caeb097d2dd1a7761099182df44af5e3ef42de6e2176d26 haproxy.initd -89d1366352af9cc7cb338779341d460606e2e3cfe9e4f7d5169af46680accb07035fab9a4bbb87dfbe383bb146e8e4d1e95a29e3d36ff64e97603a317a0b1b78 haproxy.cfg" +26bc8f8ac504fcbaec113ecbb9bb59b9da47dc8834779ebbb2870a8cadf2ee7561b3a811f01e619358a98c6c7768e8fdd90ab447098c05b82e788c8212c4c41f haproxy.cfg" diff --git a/main/haproxy/haproxy.cfg b/main/haproxy/haproxy.cfg index 6f635e821d..cf399e8447 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 |