https-redirect

https-redirect

https-redirect

https-redirect

This will set up an http server on port 8080 which redirects all incoming requests to the corresponding https url. The -1 flags will make the http server send 301 status code.

$ https-redirect -p 8080 -1

Show usage info:

$ https-redirect -h
$ npm install https-redirect -g

MIT