0.0.6 • Published 4 years ago

redirect-adnan v0.0.6

Weekly downloads
10
License
MIT
Repository
github
Last release
4 years ago

redirect-adnan

install

npm install -g redirect-adnan

default values

VarDefault Value
p80
hostorigin - req.host
port443
protocolhttps

redirect as proxy 80 => 443

redirect-adnan -p 80 -port 443

redirect to host

redirect-adnan  -host "127.0.0.1"
redirect-adnan  -host "www.domain.com"

redirect to port

redirect-adnan -port 443

redirect to protocol

redirect-adnan -protocol "https"

redirect with multiple parameters

redirect-adnan -p 80 -protocol "https" -host "127.0.0.1" -port 443
redirect-adnan -p 80 -protocol "https" -host "www.domain.com" -port 443

redirect to google as port test

redirect-adnan -p 9090 -host "www.google.com" -prot 443

License

MIT

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago