How to install nginx in windows

Source: Internet
Author: User

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:

 


Corresponding command:

Nginx.exe-s stop // stop nginx

Nginx.exe-s reload // reload nginx

Nginx.exe-s quit // exit nginx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.