Front end of the Slack clone application.

haproxy.conf 359B

123456789101112131415161718192021
  1. defaults
  2. mode http
  3. timeout client 5s
  4. timeout connect 5s
  5. timeout server 5s
  6. frontend all 0.0.0.0:3000
  7. mode http
  8. timeout client 120s
  9. option forwardfor
  10. option http-server-close
  11. option http-pretend-keepalive
  12. default_backend sockets
  13. backend sockets
  14. balance uri depth 2
  15. timeout server 120s
  16. server socket1 127.0.0.1:7000