nginx-to-cli
v1.0.0
Published
A CLI for conveniently managing nginx with familiar commands
Downloads
2
Readme
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