Skip to content

alexdln/nginx-to-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A CLI for conveniently managing nginx with familiar commands

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors