mdserver-web/plugins/haproxy/conf/haproxy.conf

38 lines
587 B
Plaintext
Raw Permalink Normal View History

2022-08-28 23:32:29 -04:00
global
2022-08-28 10:50:17 -04:00
daemon
2022-08-28 23:32:29 -04:00
log 127.0.0.1 local0
2022-08-29 00:09:13 -04:00
pidfile /tmp/haproxy.pid
2022-08-28 23:32:29 -04:00
maxconn 4000
user haproxy
group haproxy
defaults
mode http
log global
option httplog
timeout connect 10s
timeout client 15s
timeout server 15s
listen stats
mode http
bind *:10800
stats enable
stats uri /haproxy
stats realm Haproxy\ Statistics
stats auth admin:admin
frontend http-in
bind *:1080
default_backend servers
option forwardfor
option httpclose
backend servers
balance roundrobin
server web1 0.0.0.0:9090 check
2022-08-28 11:02:37 -04:00