acquia / aws-proxy

A reverse proxy to Amazon web services
Apache License 2.0
0 stars 0 forks source link

Implement the ability to reverse proxy a path #2

Closed cpliakas closed 8 years ago

cpliakas commented 8 years ago

The example use case is reverse proxying only kibana. For example, I want to be able to do the following and have it work:

./bin/aws-proxy --port 5601 --endpoint=https://my-domain.us-west-2.es.amazonaws.com/_plugin/kibana

Visiting http://localhost:5601 in the browser should load Kibana.

cpliakas commented 8 years ago

Borrowed some stuff from NewSingleHostReverseProxy.

Also whitelisted some paths, as the Kibana plugin has to reach back to root ES queries.

There are probably some security implications with this that we should vet.