Hello Jérôme,

On 2022-06-20 13:43, Jérôme Magnin wrote:

You can with an http-after-response rule. See
https://cbonte.github.io/haproxy-dconv/2.5/configuration.html#http-after-response
Or you can use an http-request return rule instead of deny/deny_status
to set the status code and header with the same rule.
https://cbonte.github.io/haproxy-dconv/2.5/configuration.html#http-request%20return
Thank you for your quick response. But how can I get/ calculate the value of 
the retry-after header?

Cheers
Corin

Reply via email to