akka/akka-http

Add `reverseProxy` directive

Aperta

#240 aperta il 12 set 2016

 (10 commenti) (5 reazioni) (0 assegnatari)Scala (598 fork)batch import
1 - triagedhelp wantedt:routingt:server

Metriche repository

Star
 (1311 stelle)
Metriche merge PR
 (Merge medio 1g 10h) (2 PR mergiate in 30 g)

Descrizione

Issue by jrudolph Tuesday Feb 10, 2015 at 16:33 GMT Originally opened as https://github.com/akka/akka/issues/16844


to enable simple proxying of single requests to an (internal) remote backend.

This has some security implications: What to do with cookies, authentication data, etc.? So, it may make sense to provide some safe-guards preventing people from simply relaying requests e.g. by requiring to whitelist potential targets in the configuration or something similar.

See the discussions in the original ticket spray/spray#145 and an existing PR spray/spray#764.

/cc @sirthias

Guida contributor