The process of installing and configuring nginx in win10

The process of installing and configuring nginx in win10

1. Introduction

Nginx is a free, open source, high-performance HTTP server and reverse proxy server, which also provides IMAP/POP3/SMTP services. Nginx can perform operations such as reverse proxy, load balancing, HTTP server (dynamic and static separation), and forward proxy. Because I have used Nginx in my company recently, here is a brief record of how I configured and used Nginx on a Win10 64-bit system.

2. Installation and Use

1. Download from the official website

Attached URL: http://nginx.org/en/download.html

2. Choose a directory to decompress it. After decompression, it will look like this:

3. In the current directory (D:\Path\Nginx-1.16.1\nginx-1.16.1), open the command window and execute start nginx.exe or directly execute nginx.exe to start Nginx

You can see in the task manager that nginx has started

4. Verify that Nginx is started successfully on the browser (enter: localhost:80 on the browser)

When you see this welcome interface, it means that Nginx has been installed successfully and can be used normally (Nginx uses port 80 by default)

5. Some common Nginx commands: (.exe suffix can be removed)

Shut down Nginx (quickly stop nginx, may not save relevant information): nginx.exe -s stop

Shut down Nginx (stop nginx in a complete and orderly manner and save relevant information): nginx.exe -s quit

Reload Nginx: nginx.exe -s reload

View the Nginx process: tasklist /fi "imagename eq nginx.exe"

6.Supplement:

6.1 The Nginx configuration file is nginx.conf:

6.2 The default startup webpage of Nginx is index.html (in the html folder, which can be configured and modified through the Nginx configuration file nginx.conf)

The above is the detailed content of the process of installing and configuring nginx in win10. For more information about installing and configuring nginx in win10, please pay attention to other related articles on 123WORDPRESS.COM!

You may also be interested in:
  • Install and configure IIS + MySQL + nginx + php7.1.7 under Win10
  • How to install nginx on win10
  • How to install Nginx in Docker
  • How to install Nginx in a specified location in Centos system
  • Nginx installation error solution
  • How to install php7 + nginx environment under centos6.6
  • Nginx installation detailed tutorial
  • How to install PHP7.4 and Nginx on Centos
  • Detailed tutorial for installing nginx on centos8 (picture and text)
  • Detailed explanation of nginx installation, deployment and usage on Linux
  • Correct steps to install Nginx in Linux

<<:  How to implement form validation in Vue

>>:  Detailed explanation of MySQL 8.0 password expiration policy

Recommend

Detailed explanation of hosts file configuration on Linux server

Linux server hosts file configuration The hosts f...

Vue uses OSS to upload pictures or attachments

Use OSS to upload pictures or attachments in vue ...

Summary of discussion on nginx cookie validity period

Every visit will generate Cookie in the browser, ...

Best Practices for Implementing Simple Jira Projects with React+TS

A set of projects for training react+ts Although ...

How to Install and Configure Postfix Mail Server on CentOS 8

Postfix is ​​a free and open source MTA (Mail Tra...

Real-time refresh of long connection on Vue+WebSocket page

Recently, the Vue project needs to refresh the da...

How to install binary MySQL on Linux and crack MySQL password

1. Make sure the system has the required libaio s...

Docker Stack deployment method steps for web cluster

Docker is becoming more and more mature and its f...

Example of how to set WordPress pseudo-static in Nginx

Quoting Baidu's explanation of pseudo-static:...

Error mysql Table 'performance_schema...Solution

The test environment is set up with a mariadb 5.7...

Detailed installation instructions for the cloud server pagoda panel

Table of contents 0x01. Install the Pagoda Panel ...

Detailed installation and uninstallation tutorial for MySQL 8.0.12

1. Installation steps for MySQL 8.0.12 version. 1...

CSS controls the spacing between words through the letter-spacing property

letter-spacing property : Increase or decrease th...

Introduction to the usage of common XHTML tags

There are many tags in XHTML, but only a few are ...