Cogini Blog Articles tagged rate limiting
Getting the client public IP address in Phoenix
When your app is running behind a proxy like Nginx or a CDN, then the requests will all look like they are coming from the proxy. Use the X-Forwarded-For header to set the remote_ip correctly. Read more…
Rate limiting Nginx requests
Any popular service may be the unfortunate recipient of a DDOS attack. We find that DDOS load ends up driving capacity planning, as it can easily be 10x the normal load. You can rate limit at multiple levels. You might use a service such as CloudFlare, filtering provided by your … Read more…