Blame view

node_modules/faye-websocket/examples/haproxy.conf 359 Bytes
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
  defaults
     mode http
     timeout client  5s
     timeout connect 5s
     timeout server  5s
  
  frontend all 0.0.0.0:3000
     mode http
     timeout client 120s
  
     option forwardfor
     option http-server-close
     option http-pretend-keepalive
  
     default_backend sockets
  
  backend sockets
     balance uri depth 2
     timeout server  120s
     server socket1 127.0.0.1:7000