Rate limiting with a load balancer
When rate limiting is performed by the reverse proxy, and when there is a load balancer or other
network device terminating traffic and then forwarding onto the reverse proxy, the IP address flag
ip: true is not useful. The IP address is effectively static (as it is the address
of the network terminating device). In order to rate limit on an IP address in this situation, have
the network terminating device include the client IP address as a header, and include this in the
rate limiting configuration.
headers:
X-Forwarded-For: "*"