mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-01 04:03:39 +00:00
33 lines
590 B
INI
33 lines
590 B
INI
global
|
|
log 127.0.0.1 local0
|
|
log 127.0.0.1 local1 notice
|
|
|
|
defaults
|
|
log global
|
|
mode http
|
|
option httplog
|
|
option dontlognull
|
|
timeout connect 5000ms
|
|
timeout client 50000ms
|
|
timeout server 50000ms
|
|
|
|
listen stats
|
|
bind 0.0.0.0:70
|
|
stats enable
|
|
stats uri /
|
|
|
|
frontend balancer
|
|
bind 0.0.0.0:80
|
|
mode http
|
|
default_backend web_backends
|
|
|
|
backend web_backends
|
|
mode http
|
|
option forwardfor
|
|
balance roundrobin
|
|
server weba weba:80 check
|
|
server webb webb:80 check
|
|
server webc webc:80 check
|
|
option httpchk GET /
|
|
http-check expect status 200
|