Forward Client Ip Through A Proxy

Use when an app behind a proxy, load balancer, or CDN logs the wrong client IP or rate-limits everyone as one address. Forward the real IP through the trusted-proxy chain and parse the correct header, rejecting spoofed values from untrusted hops.

jiayaoqijia Updated 81 repo stars

File contents

jiayaoqijia/cryptoskill commit efc1556bbd

Frequently asked questions

npx get-skill add jiayaoqijia/forward-client-ip-through-a-proxy