Skip to content

tellnes/https-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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