update
This commit is contained in:
parent
1de2a25801
commit
62d47784f5
31
haproxy.cfg
Normal file
31
haproxy.cfg
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
global
|
||||||
|
log 127.0.0.1 local2
|
||||||
|
pidfile /var/run/haproxy.pid
|
||||||
|
maxconn 1024
|
||||||
|
daemon
|
||||||
|
|
||||||
|
defaults
|
||||||
|
timeout connect 5000
|
||||||
|
timeout client 50000
|
||||||
|
timeout server 50000
|
||||||
|
|
||||||
|
frontend ft_rtpm
|
||||||
|
bind *:1935 name rtmp
|
||||||
|
mode tcp
|
||||||
|
maxconn 600
|
||||||
|
default_backend bk_rtmp
|
||||||
|
|
||||||
|
backend bk_rtmp
|
||||||
|
mode tcp
|
||||||
|
balance roundrobin
|
||||||
|
server fra1 74.220.30.244:31935 check maxconn 200 weight 10
|
||||||
|
server lon1 74.220.20.222:31935 check maxconn 200 weight 10
|
||||||
|
server nyc1 212.2.242.190:31935 check maxconn 200 weight 10
|
||||||
|
|
||||||
|
listen stats
|
||||||
|
bind :9000
|
||||||
|
stats enable
|
||||||
|
mode http
|
||||||
|
stats uri /stats
|
||||||
|
stats hide-version
|
||||||
|
stats realm HAProxy\ Statistics
|
Loading…
Reference in New Issue
Block a user