A CLI for conveniently managing nginx with familiar commands (currently only on Windows)
npm i nginx-to-cli -g
Then you need to configure the utility by specifying the absolute path to the installed nginx:
ng c
ng start
ng status
ng stop
ng restart
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