akka/akka-http

Add `reverseProxy` directive

Open

#240 opened on Sep 12, 2016

View on GitHub
 (10 comments) (5 reactions) (0 assignees)Scala (598 forks)batch import
1 - triagedhelp wantedt:routingt:server

Repository metrics

Stars
 (1,311 stars)
PR merge metrics
 (Avg merge 1d 10h) (2 merged PRs in 30d)

Description

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

Contributor guide