diff options
| author | bndw <ben@bdw.to> | 2026-02-14 21:50:10 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-02-14 21:50:10 -0800 |
| commit | e647880669b79cd968231cf85dc037a18e8bfd9c (patch) | |
| tree | 4275603466ff264b680af75dc4386bf130d75997 /buf.gen.yaml | |
| parent | 4dbd96ec697196d43ad41eca4fd43d53da46a081 (diff) | |
fix: prioritize proxy headers for rate limiting
Check X-Forwarded-For and X-Real-IP headers before peer info to correctly
identify clients behind reverse proxies. Previously, rate limiting would
apply globally when behind Caddy/nginx because all requests appeared to
come from the proxy's IP address.
This fix is critical for production deployments behind reverse proxies.
Diffstat (limited to 'buf.gen.yaml')
0 files changed, 0 insertions, 0 deletions
