alex-009A
Denoβ€’3y agoβ€’
2 replies
alex-009

how to set remoteAddr from http header Forwarded for or X-Forwarded for

In some environments are the TCP Client IP not the real Client IP. What's the best way to set https://deno.land/api@v1.38.0?s=Deno.ServeHandlerInfo#prop_remoteAddr from HTTP Header or Proxy protocol https://github.com/haproxy/haproxy/blob/master/doc/proxy-protocol.txt ?
Was this page helpful?