diff options
author | Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> | 2017-03-14 13:51:43 +0100 |
---|---|---|
committer | Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> | 2017-03-14 13:51:43 +0100 |
commit | dd5f7c1ddf1a73013214fcc35b3c048e553bcc5f (patch) | |
tree | e5a64f505686230961530ad15c0eef091680639a /tools/kingbird | |
parent | 8c3744ff8b80f9aede71af8938cd7732b117f8cb (diff) |
Use the correct bind host for haproxy config
Change-Id: I5e8bd6be29b67b22afcf8fb6e332c1058f8f10d9
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Diffstat (limited to 'tools/kingbird')
-rwxr-xr-x | tools/kingbird/install_kingbird.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/kingbird/install_kingbird.sh b/tools/kingbird/install_kingbird.sh index dd166e9..63d84c4 100755 --- a/tools/kingbird/install_kingbird.sh +++ b/tools/kingbird/install_kingbird.sh @@ -185,9 +185,11 @@ listen kingbird-api option http-buffer-request timeout server 660s timeout http-request 10s - server node-4 192.168.0.4:8118 check inter 10s fastinter 2s downinter 3s rise 3 fall 3 + server node-4 ${bind_host}:8118 check inter 10s fastinter 2s downinter 3s rise 3 fall 3 EOF +service haproxy restart + # Configure iptables iptables -I INPUT -p tcp -m multiport --dports 8118 -m comment --comment "410 kingbird" -j ACCEPT |