Directive extracting the RemoteAddress of the client from either the X-Forwarded-For, Remote-Address or X-Real-IP header (in that order of priority).
Directive extracting the RemoteAddress of the client from either the X-Forwarded-For, Remote-Address or X-Real-IP header (in that order of priority).
Directive extracting the raw IP of the client from either the X-Forwarded-For, Remote-Address or X-Real-IP header (in that order of priority).
Directive extracting the raw IP of the client from either the X-Forwarded-For, Remote-Address or X-Real-IP header (in that order of priority).
Allows to proxy a request to another URI.
Defines two public Routes to proxy requests: -
proxyTo
takes the original request and proxy's it to the proxy URI -proxyToUnmatchedPath
copies only the unmatched path from the original URI, and adds it to the path of the proxy URITaken from: https://github.com/bthuillier/spray/pull/1
https://github.com/bthuillier/spray/pull/1
https://github.com/spray/spray/pull/764/
https://github.com/akka/akka/issues/16844