Skip to content

How does Hasura IP rate limiting work if requests go through a reverse proxy before hitting Hasura? #8551

Answered by ecthiender
arcticmatt asked this question in General
Discussion options

You must be logged in to vote

@arcticmatt Hasura looks into the x-real-ip or x-forwarded-for request headers. These are standard headers usually filled in by the proxies. Do you know if Cloudflare already adds x-real-ip/x-forwarded-for headers?

If the above are not found, then it will look up the connecting client's IP address from the packet

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ammarfaris
Comment options

Answer selected by dsandip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
None yet
3 participants