Skip to content

Commit

Permalink
edit the config
Browse files Browse the repository at this point in the history
  • Loading branch information
XGFan committed Nov 7, 2015
1 parent 2220b4a commit 2afacbc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion haproxy.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
global
chroot /var/lib/haproxy
user haproxy
group haproxy
pidfile /var/run/haproxy.pid
ulimit-n 51200

defaults
log global
mode tcp
option dontlognull
timeout connect 1000
Expand All @@ -19,5 +22,6 @@ frontend sgp

backend hk-out
server server1 hk.xulog.com:7039 maxconn 20480

backend sgp-out
server server1 do.xulog.com:7039 maxconn 20480

0 comments on commit 2afacbc

Please sign in to comment.