Lukas and Baptiste,

Thank you for your help!

Seems the HAProxy community is as excellent as HAProxy itself.

Rock on!

David


On Thu, Oct 2, 2014 at 9:36 AM, Baptiste <[email protected]> wrote:

> On Wed, Oct 1, 2014 at 9:10 PM, David Pollak
> <[email protected]> wrote:
> > Baptiste,
> >
> > Thanks for your help. I'm using HAProxy 1.5.4 and here's my config:
> >
> > global
> >     log /dev/log    local0
> >     log /dev/log    local1 notice
> >     chroot /var/lib/haproxy
> >     stats socket /run/haproxy/admin.sock mode 660 level admin
> >     stats timeout 30s
> >     user haproxy
> >     group haproxy
> >     daemon
> >
> > defaults
> >     log    global
> >     mode    http
> >         option forwardfor
> >     option http-server-close
> >         # option forceclose
> >     option    httplog
> >     option    dontlognull
> >         timeout connect 500000
> >         timeout client  5000000
> >         timeout server  5000000
> >     errorfile 400 /etc/haproxy/errors/400.http
> >     errorfile 403 /etc/haproxy/errors/403.http
> >     errorfile 408 /etc/haproxy/errors/408.http
> >     errorfile 500 /etc/haproxy/errors/500.http
> >     errorfile 502 /etc/haproxy/errors/502.http
> >     errorfile 503 /etc/haproxy/errors/503.http
> >     errorfile 504 /etc/haproxy/errors/504.http
> >
> >
> > frontend www-http
> >    bind *:80
> >    use_backend Jetty-close if { path_beg /redirect }
> >    default_backend Jetty
> >
> >
> > backend Jetty
> >         server jetty localhost:8080
> >
> > backend Jetty-close
> >     option forceclose
> >         server jetty localhost:8080
> >
>
> hi David,
>
> Your configuration seems to be right.
> If it doesn't work, it means you're hitting a bug:
>
> http://git.haproxy.org/?p=haproxy-1.5.git;a=commit;h=2e47a3ab11188239abadb6bba7bd901d764aa4fb
> Please give a try to the latest 1.5 git version of HAProxy, it should work.
>
> Baptiste
>



-- 
Brick Alloy http://brickalloy.com <https://telegr.am>
Lift, the simply functional web framework http://liftweb.net
Follow me: http://twitter.com/dpp
Blog: http://goodstuff.im

Reply via email to