typesafehub / conductr-lib

Other
8 stars 13 forks source link

Now sets `X-Forwarded-For` header #137

Closed longshorej closed 7 years ago

longshorej commented 7 years ago

This PR sets X-Forwarded-For so that bundlelib works in containers or environments where the client IP may not reflect the correct host IP. X-Forwarded-For is the highest priority for Akka HTTP's extractClientIp and thus will override any Remote-Address headers that Akka HTTP client may set.

longshorej commented 7 years ago

Taking a different approach.