Public Repository

Last pushed: a year ago
Short Description
Proxy server
Full Description

haproxy.cfg File

global
daemon
maxconn 256

defaults
mode http
balance roundrobin
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms

frontend http-in
bind *:80
default_backend webnode

backend webnode
server web01 172.17.0.1:80 check
server web02 172.17.0.2:80 check
server web03 172.17.0.3:80 check

listen admin
bind *:8090
stats enable


Check Stats: http://IP:8090/haproxy?stats


docker run -d -p 80:80 -p 8090:8090 --name prox01 -v ~/haproxy/haproxy.cfg:/etc/haproxy/haproxy.cfg sourish4c/haproxy -n 10000

Docker Pull Command
Owner
sourish4c

Comments (0)