npm.io
1.0.0 • Published 2 years agoCLI

nginx-to-cli

Licence
MIT
Version
1.0.0
Deps
4
Size
10 kB
Vulns
0
Weekly
0

nginx-to-cli

A CLI for conveniently managing nginx with familiar commands (currently only on Windows)

Installation

npm i nginx-to-cli -g

Then you need to configure the utility by specifying the absolute path to the installed nginx:

ng c

Usage

Start nginx
ng start
Check nginx status
ng status
Stop nginx
ng stop
Restart nginx
ng restart
Run nginx command

In most cases, the above commands will be sufficient, but in some cases, it may be necessary to run specific nginx commands.

This can be done using the following command:

ng root <COMMAND>

For example:

ng root -s quit
ng root -v

License

MIT