haproxy.cfg 244 B

12345678910111213
  1. defaults
  2. mode tcp
  3. timeout connect 5000ms
  4. timeout client 50000ms
  5. timeout server 50000ms
  6. frontend http-in
  7. bind *:80
  8. default_backend example
  9. frontend https-in
  10. bind *:443
  11. default_backend example
  12. backend example
  13. server example0 example.com