https-proxy-cli
One command to run a local https proxy.
No need to set up certs!
Install
npm install -g https-proxy-cli
Usage
https-proxy -t http://localhost:80 -p 1234
https-proxy --help
Put https in front of your running app
Example: https-proxy -t http://localhost:8080 -p 8888 --path ~
Usage: https-proxy <options>
Options:
-t, --target target address, like http://localhost:80 [required]
-p, --port port to use for https [required]
--keys path for storing .key.pem and .cert.pem [string] [default: "."]
--insecure flag to accept insecure connections
--xfwd adds x-forward headers