Skip to content
Back

Rate limit when proxying client request

  • 1
  • Self Hosted
  • General
  • Web
  • REST API
felix
17 Apr, 2025, 06:18

Hi

For my appwrite setup I proxy everything through my Nuxt backend to be able to have the cookies rewritten to my domain without having to write the endpoints myself. I looked over the Audit code in the repo and wasnt able to find that Appwrite cares about X-Forwarded-For header when collecting the IP. The header is allowed.

How will it work with rate-limiting through the proxy? I know that some rate-limits are user based, but "public" endpoints will all have the same IP no?

TL;DR
The developer is concerned about rate limiting when proxying client requests through their Nuxt backend for their Appwrite setup. They are unsure if Appwrite considers the X-Forwarded-For header for IP collection. They are wondering how rate limiting will work through the proxy since public endpoints will have the same IP.
felix
17 Apr, 2025, 06:48

Rate limit when proxying client request

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more