Hello,

On Tue, 2022-11-08 at 09:30 +0530, Chilaka Ramakrishna wrote:
> On queue timeout, currently HAProxy throws 503, But i want to return 429,
> I understand that 4xx means a client problem and client can't help here.
> But due to back compatibility reasons, I want to return 429 instead of
> 503. Is this possible ?

errorfile 503 /path/to/429.http 
(http://cbonte.github.io/haproxy-dconv/2.6/configuration.html#4-errorfile)

Or maybe it's possible with http-error
(http://cbonte.github.io/haproxy-dconv/2.6/configuration.html#http-error)

-Jarno

-- 
Jarno Huuskonen

Reply via email to