Update haproxy.sh
1 parent 3ffb449 commit 58ff25242415c6a9f2f9077af9e78083335c412d
Leonardus Kristaris Sastra authored on 25 Apr 2020
Showing 1 changed file
View
4
haproxy.sh
backend core-backend
server mysite1 backend1.floss.my.id:80 check
 
backend dual-backend
server mysite1 backend1.floss.my.id:80 check;
server mysite2 backend2.floss.my.id:80 check;" > /etc/haproxy/haproxy.cfg;
server mysite1 backend1.floss.my.id:80 check
server mysite2 backend2.floss.my.id:80 check" > /etc/haproxy/haproxy.cfg;
systemctl restart haproxy;
systemctl status haproxy;
echo "";