Sign inSign up

sourish4c/haproxy

By sourish4c

•Updated over 10 years ago

Proxy server

Image
0

881

sourish4c/haproxy repository overview

⁠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

Tag summary

Content type

Image

Digest

Size

109.6 MB

Last updated

over 10 years ago

docker pull sourish4c/haproxy