# If you already have an haproxy.cfg file, you can probably leave the # global and defaults section as-is, but you might need to increase the # timeouts so that long-running CLI commands will work. global maxconn 4096 log 127.0.0.1 local0 debug tune.ssl.default-dh-param 2048 defaults log global option httplog option dontlognull option forwardfor maxconn 20 timeout connect 5s timeout client 5min timeout server 5min frontend http-in bind *:80 mode http default_backend jenkins backend jenkins server jenkins1 127.0.0.1:8080 mode http