On 17 January 2013 23:02, Joel Krauska <[email protected]> wrote:
> Is there a simple way to have haproxy send a simple response for a given
> URL?
>
> Matching somewhat the functionality of Nginx's empty_gif module?
> http://wiki.nginx.org/HttpEmptyGifModule
> I don't need to send an actual empty gif, but just a simple 200 and OK would
> be fine.
>
> Use case would be to have an ACL that when matched always responds with a
> simple 200.
> (external check to make sure HAProxy is functional without needing to hit
> any backends.)

Sounds like you want to configure "monitor-uri":
http://cbonte.github.com/haproxy-dconv/configuration-1.4.html#monitor-uri.

Jonathan
-- 
Jonathan Matthews // Oxford, London, UK
http://www.jpluscplusm.com/contact.html

Reply via email to