This article refers to the introduction of Nginx for Windows: http://nginx.org/en/docs/windows.html
You download from the official website is a zip format of the compressed package, the first to unpack the compressed package.
Into the extracted folder, you can see the Conf HTML and other folders, there is a call Nginx.exe executable file.
Open a command prompt, and then switch to the directory that has nginx.exe.
Execute start Nginx, and then use the tasklist command to see if there is a process called nginx.exe, if there is a description to start successfully, if not, see./logs/error.log, it is possible that your port 80 is occupied.
Ps:nginx for Windows runs as a standard console app, not a service.
Here are some of the related commands:
Nginx-s Shutdown//Quick Close
Nginx-s quit//gracefully close
Nginx-s Reload//equivalent to reboot it will reload the config file that you can use to gracefully close an old process
Nginx-s reopen//re-opening log files, re-opening the logfile? I don't know what's the use of ...
Known Issues:
No matter how many processes are started, only one process is used to handle all the work. (That's what it's supposed to mean.)
A process cannot handle more than 1024 simultaneous connections.
The cache and other modules which require shared memory support does not work in Windows Vista and later versions due to add Ress space layout randomization being enabled in these Windows versions. (Dare not translate)
The future may be improved:
Run as a service.
Using the I/O completion ports as a connection processing method.
Using multiple worker threads inside a single worker process.
The use of Nginx in Windwos