node package manager

make-proxy

make-proxy

a forwarding HTTP requests and modify the hosts file tool.

npm install -g make-proxy

Usage: make-proxy [options]

Options:

-h, --help     output usage information
-V, --version  output the version number
-t, --target   target server [http://127.0.0.1:8080]
-p, --port     listen port [80]
-h, --host     bind domain to hosts file [wwww.google.com]
-d, --dir      origin virtual directory [/dir1/....]