Install and configure Nginx under Win7, and configure win7nginx

Source: Internet
Author: User

Install and configure Nginx under Win7, and configure win7nginx

Environment: Win7 64-bit SP1

Nginx version: nginx/1.8.0

Reference http://nginx.org/en/docs/windows.html

1. Download nginx1.8.0:

Http://nginx.org/download/nginx-1.8.0.zip

2. decompress the software to the corresponding location and rename the folder to nginx.

3. Start the nginx service:

In the nginx.exe directory, run the doscommand: start nginx

In this case, a small window will flash.

4. Verify the nginx service. Generally, there are three methods.

12.16.in the nginx.exe directory, run the doscommand: nginx-V

2) Open the task manager and view the nginx process.

3). directly access http: // 127. 0... 1

5. Disable the nginx Process

In the nginx.exe directory, execute the doscommand: nginx-s stop

This is only used for python development. Currently, optimization settings are not performed.


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.