Back to Explore
@fastify/proxy-addr determines the address of a proxied request. It provides `proxyaddr(req, trust)` to return the closest untrusted address, and `proxyaddr.all(req, trust)` to return the full ordered list of request addresses. It can take a trust callback, a string, or lists of trusted IP and CIDR ranges, and supports IPv6 normalization.
A status summary will appear after the next weekly refresh.
AI-generated from public sources. May be inaccurate. Report
Recent updates
v5.1.0
v5.1.0 focuses on refactoring and performance micro-optimizations in the main proxyaddr implementation, along with substantial dev tooling and CI updates. The release notes describe the functional code changes (Object.hasOwn usage, loop refactors, and minor perf improvements) and separate build/test/tooling dependency bumps.