1. To the Nginx official website to download the corresponding installation package, http://nginx.org/en/download.html; Download to unzip, the extracted files into their favorite directory, my decompression files placed in the D packing directory, as shown:
Enter the cmd window of window, enter the command as shown, enter into the Nginx directory and use "start Nginx.exe " To install Nginx, as shown in:
After the installation is successful, you will see the "Nginx.exe" process in Task Manager, as shown in:
In the browser address bar type: 127.0.0.1, you will see the Nginx Welcome screen as shown
The corresponding command:
Nginx.exe-s Stop//Stop Nginx
Nginx.exe-s Reload//Reload Nginx
Nginx.exe-s quit//exit Nginx
Note: In the above command, the. exe can be removed
The operation of the corresponding command is as follows:
2. Nginx configuration file nginx configuration file is nginx.conf, the corresponding operation as shown: Nginx configuration file parsing: http://www.cnblogs.com/qdwyg2013/p/5591982.html
Installing Nginx under Windows