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.)

Can an acl respond with errorcode 200?

Would creating a backend with no members and changing the 500 response file
to look like a 200 response file work?
(seems hacky)

Any advice?

Thanks,

Joel

Reply via email to