summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/kingbird/install_kingbird.sh4
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