Re: Simple health check return... -- without backend needed?

2013-01-18 Thread Baptiste
monitor-uri looks like it would only work as a path match. I need to match a Host header. eg. ping.example.com (always return 200 when haproxy is running) vs www.example.com (proxy to backend pool) Hi, you can use an ACL to forward ping.example.com to a backend with no server. HAProxy

Re: Simple health check return... -- without backend needed?

2013-01-18 Thread Jonathan Matthews
On 18 January 2013 02:26, Joel Krauska jkrau...@gmail.com wrote: monitor-uri looks like it would only work as a path match. I need to match a Host header. Could you elaborate a bit on why you're trying to do this? Is it for a human or machine audience? Etc etc ... Jonathan -- Jonathan

Re: Simple health check return... -- without backend needed?

2013-01-18 Thread Joel Krauska
On Fri, Jan 18, 2013 at 1:44 AM, Jonathan Matthews cont...@jpluscplusm.comwrote: On 18 January 2013 02:26, Joel Krauska jkrau...@gmail.com wrote: monitor-uri looks like it would only work as a path match. I need to match a Host header. Could you elaborate a bit on why you're trying to do

Simple health check return... -- without backend needed?

2013-01-17 Thread Joel Krauska
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

Re: Simple health check return... -- without backend needed?

2013-01-17 Thread Jonathan Matthews
On 17 January 2013 23:02, Joel Krauska jkrau...@gmail.com 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,

Re: Simple health check return... -- without backend needed?

2013-01-17 Thread Joel Krauska
On Thu, Jan 17, 2013 at 3:27 PM, Jonathan Matthews cont...@jpluscplusm.comwrote: On 17 January 2013 23:02, Joel Krauska jkrau...@gmail.com 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?