conradz / dev-https

Dead simple HTTPS reverse proxy for use when developing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Dead simple HTTPS reverse proxy for use when developing


Languages

Language:JavaScript 100.0%