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:
|
<<: How to implement form validation in Vue
>>: Detailed explanation of MySQL 8.0 password expiration policy
Database application is an indispensable part of ...
Socket option function Function: Methods used to ...
Let me look at the example code first: 1. Common ...
1. Packetdrill compilation and installation Sourc...
NULL and NOT NULL modifiers, DEFAULT modifier, AU...
First create a specific project directory for you...
Implementation requirements The form imitating El...
Copy code The code is as follows: a:link { font-s...
Usage of having The having clause allows us to fi...
Code: Copy code The code is as follows: <!DOCTY...
Intersection Selector The intersection selector i...
<br />Original text: http://andymao.com/andy...
Table of contents 1. Startup management of source...
emmm the name is just a random guess 2333 Preface...
Table of contents Starting from type judgment Str...