dev-https
v1.0.1
Published
Dead simple HTTPS reverse proxy for use when developing
Downloads
13
Readme
dev-https
Dead simple HTTPS reverse proxy for use when developing
This utility automatically creates a self-signed certificate, sets up an HTTPS server, and proxies all requests to the server you specify. Use it for quickly testing a site over https when developing.
Usage
dev-https [-p <port>] <url>
First, you need to install it:
npm install -g dev-https
Then, run it:
dev-https http://localhost:8000
By default it runs on port 4430 (https://localhost:4430), but you can specify the port:
dev-https -p 443 http://localhost:8000
That's it!
Notes
You will get SSL certificate errors with this. That is to be expected when generating self-signed SSL certs on the fly like this does. This is not to be used in production at all, only when developing.