Quoted from: http://blog.csdn.net/ppby2002/article/details/38681345
Start, stop and other commands of Nginx under Windows
To use Nginx under Windows, we need to master some basic operation commands, such as: starting and stopping Nginx services, reloading Nginx, etc. I will give some brief introductions below.
1. Start:
C:\server\nginx-1.0.2>start nginx
or
C:\server\nginx-1.0.2>nginx.exe
Note: It is recommended to use the first one, and the second one will keep your cmd window in execution and cannot perform other command operations.
2. Stop:
C:\server\nginx-1.0.2>nginx.exe -s stop
or
C:\server\nginx-1.0.2>nginx.exe -s quit
Note: stop is to quickly stop nginx and may not save relevant information; quit is to stop nginx in a complete and orderly manner and save relevant information.
3. Reload Nginx:
C:\server\nginx-1.0.2>nginx.exe -s reload
Use this command when configuration information is modified and these configurations need to be reloaded.
4. Reopen the log file:
C:\server\nginx-1.0.2>nginx.exe -s reopen
5. Check the Nginx version:
C:\server\nginx-1.0.2>nginx -v