On Fre 13.06.2008 16:58, Alexander Staubo wrote:
>I am experiencing a problem with the stats URI. When I hit the stats
>page, it is often proxied instead of being intercepted by HAProxy; in
>other words, instead of HAProxy's stats page, I get a 404 from my
>backend. Often reloading the page gives me the stats page again, but it
>seems to be depend on what requests are currently being routed through
>HAProxy. In other words, it's a bit wobbly.
>
>My config, simplified, looks like this:
>
>defaults
> stats enable
> stats uri = /haproxy-stats
> stats refresh 5s
> acl static path_beg /images/
> use_backend nginx if static
> default_backend rails
>
>backend rails
> # ... proxy to Mongrel
>
>backend nginx
> # ... proxy to Nginx
When you remove the default_backend and change to
use_backend rails if !static
it it the same behaviour?
Aleks Received on 2008/06/13 17:18
This archive was generated by hypermail 2.2.0 : 2008/06/13 17:31 CEST