Step 1: first download the corresponding installation package from the nginx official website. Address: http://nginx.org/en/download.html
Download to decompress, put the decompressed file to your favorite Directory, my unzipping file in the D drive wamp Directory (I use nginx version is nginx-1.7.9), as shown in the following figure:
Step 2: Enter the cmd window of window, enter the command as shown in the following figure, enter the nginx directory, and use start nginx.exe to install nginx, as shown in the following figure:
After the installation is successful, the “nginx.exe process will be viewed in the timer task manager, as shown in the following figure.
Enter 127.0.0.1 in the address bar of the browser. The nginx welcome page shown in the following figure is displayed:
Step 3: you can configure the settings of the wamp project under nginx. conf in the conf directory of nginx:
Nginx.exe-s stop // stop nginx
Nginx.exe-s reload // reload nginx
Nginx.exe-s quit // exit nginx