Search code examples
haproxy

Customize HAProxy retry-on


According to the HAProxy docs, the only HTTP codes that are acceptable as keywords after retry-on are 404, 408, 425, 500, 503 and 504.

I'd like to retry on 421s; I haven't been able to find docs on creating custom keywords for retry-on, is that even possible?


Solution

  • In short: no.

    Long answer: You can see in the code that only the documented Codes are implemented. proxy_parse_retry_on