There is a nice trick to instantly serve contents of a current working directory by HTTP locally:
$ python -m SimpleHTTPServer
This command launches HTTP server at *:8000, serving $PWD contents.
I'm looking for something similar, but for setting up a reverse-proxy.
Something like this:
$ instant-reverse-http-proxy --listen-on 'http://localhost:8000/' --proxy-to 'https://example.com/path'`
$ GET http://localhost:8000/bar