dev-https

1.0.1 • Public • Published

dev-https

Dead simple HTTPS reverse proxy for use when developing

NPM Build Status

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.

Readme

Keywords

none

Package Sidebar

Install

npm i dev-https

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • conradz