Skip to content

Glossary: Redis and Caching

trustProxy

Also written: X-Forwarded-For

A Fastify option that makes `request.ip` read the real client's address from the `X-Forwarded-For` header. Behind a load balancer, every request would otherwise seem to come from the balancer.

Where the book teaches it

Related terms

Rate limit