/https-redirect

:arrow_double_up: Redirect http requests to https

Primary LanguageJavaScriptMIT LicenseMIT

https-redirect

https-redirect

Usage

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

Install

npm install https-redirect -g

License

MIT