This paper records nginx installed in windows, also refer to: http: //blog.163.com/njut_wangjian/blog/static/1657964252013327103716818/
My local environment: win10-64 bit.
1. official website to download the appropriate nginx installation package, http://nginx.org/en/download.html ;
Download decompress, unzip the file into a directory of their favorite, I unzip files on the d under the root directory, as shown below:
Cmd window into the window, as shown below in the command input, into nginx directory (D: /nginx-1.8.1), using the " Start nginx.exe " nginx for installation, as shown below:
After successful installation, the "task manager" will see "nginx.exe" process, as shown below:
In the browser address bar enter: 127.0.0.1, as shown below will see the welcome screen of nginx
The appropriate command: Start nginx.exe commands.
nginx.exe -s stop // stop nginx
nginx.exe -s reload // reload nginx
nginx.exe -s quit // Exit nginx
Note: the above command, .exe can be removed
Corresponding to the operation command as shown below: