Amazon ELB and NLB
You can deploy fabio behind an Amazon Classic Load Balancer and enable PROXY protocol support to pass the remote address and port of the client using version 1. For an Amazon Network Load Balancer (NLB), enable PROXY protocol v2 on the target group and set pxyproto=true on the fabio listener.
The listener accepts either PROXY protocol version, so the same fabio routing configuration can be used with both load balancers.