NP

Nevil Patel

Forward Deployed Engineer

Why My Nginx if Block Didn't Stop Rate Limiting

Google login broke in production because Nginx was rate-limiting CORS preflights. The if block I added to skip them did nothing — because of how if inherits its parent location. The real fix was a one-line map.

Written by Nevil Patel, Forward Deployed Engineer.

By Nevil Patel — Forward Deployed Engineer in Toronto, Ontario, Canada. Contact: me@nevil.ca · LinkedIn · GitHub