UNPKG

http-rewrite-proxy

Version:

Simple HTTP proxy rewriting server responses and serving on host.

10 lines (7 loc) 244 B
## Simple HTTP proxy Following commands will proxy example.com on localhost:8080 $ npm install http-rewrite-proxy -g $ http-rewrite-proxy --host localhost \ --port 8080 \ --target-host example.com \ --target-port 80