Logo white

BJ_web_developers / dyitoc

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • dyitoc
  • node_modules
  • faye-websocket
  • examples
  • haproxy.conf
  • add
    aaac7fed
    liuqimichale authored
    2019-01-25 15:48:53 +0800  
    Browse Code ยป
haproxy.conf 359 Bytes
Edit Raw Blame History Permalink
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