Skip to content

Rate limiting return 'Forbidden' (403) instead of 'Too Many Requests' (429) #1586

@mgvazquez

Description

@mgvazquez

It's really confuse for debugging if when I reach the limit of the request per second, get a 'Forbidden' instead of 'Too Many Requests'.

Here is and example in the HAProxy Blog:
https://www.haproxy.com/blog/four-examples-of-haproxy-rate-limiting/

Is there a way to change the http code, other than use a custom-template?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions