I had to know about the web service and missed losing a YI. Take you through the nginx service!

1. nginx service nginx is a high performance, lightweight web service software. nginx has high stability, low system resource consumption, and high processing power for HTTP concurrent connections. A single physical server can support 30,000 to 50,000 concurrent requests. 2. Compile and install nginx service 1. Preparing the installatio ...

Posted by nitm on Tue, 25 Jan 2022 21:37:46 +0100

Nginx: static resource configuration instruction

listen instruction listen: used to configure the listening port. grammar listen address[:port] [default_server]...;listen port [default_server]...; Default value listen *:80 | *:8000 position server The setting of listen is flexible: listen 127.0.0.1:8000; // listen localhost:8000 listens to the specified IP and port listen 127.0.0. ...

Posted by paddycallaghan on Tue, 25 Jan 2022 15:14:18 +0100

Getting started with nginx

The configuration system of Nginx consists of a main configuration file and some other auxiliary configuration files. These configuration files are plain text files, all located in the conf directory under the Nginx installation directory A line starting with # or a line preceded by several spaces or tabs and followed by # in the configuration ...

Posted by RDFrame on Tue, 25 Jan 2022 06:52:12 +0100

Thoroughly understand the five application scenarios of Nginx

1, HTTP server Nginx itself is also a static resource server. When there are only static resources, nginx can be used as the server. If a website is only a static page, it can be deployed in this way. 1. First, create an HTML directory in the document root directory Docroot(/usr/local/var/www), and then put a test.html in the HTML html; 2. ...

Posted by AchillesForce on Tue, 25 Jan 2022 04:46:38 +0100

Nginx optimized small operation

Nginx optimized small operation 1, Hidden version In the production environment, the version number of Nginx needs to be hidden to avoid security vulnerability disclosure. Because each version has its own defects to avoid defect exposure and attack. 1. How to view version number: 1. Local: curl -I http://192.168.65.129 2. Browser: directly ...

Posted by am_25 on Mon, 24 Jan 2022 19:21:15 +0100

Enterprise architecture MySQL read-write separation

Learning objectives and contents 1. Be able to understand the purpose of reading and writing separation 2. It can describe the common implementation of read-write separation 3. It can realize the separation of reading and writing through the project framework configuration file 4. It can realize read-write separation through midd ...

Posted by Farside on Mon, 24 Jan 2022 10:12:12 +0100

Docker builds LNMP environment (New)

preface Tip: Here you can add the general contents to be recorded in this article: For example, with the continuous development of artificial intelligence, machine learning technology is becoming more and more important. Many people have started learning machine learning. This paper introduces the basic content of machine learning. Ti ...

Posted by trauch on Mon, 24 Jan 2022 09:23:34 +0100

Nginx load balancing strategy is enough!!!

It's enough to read this article on Nginx load balancing strategy. Sincerely, I didn't lie and didn't say much. Let's start~ 1, Nginx load balancing policy Load balancing is used to select a server from the list of back-end servers defined in the "upstream" module to accept user requests. The most basic upstream module is as fol ...

Posted by kiwibrit on Sun, 23 Jan 2022 22:09:54 +0100

Building nginx RTMP streaming media server for Ubuntu

In the course design of unix course, I didn't want to change the system environment to write code, so I chose a topic of server construction. I thought it was very mature, but because it was too mature, no one continued to do this. The software and documents were ancient versions, and Helix didn't have an authorization key. Finally, I found thi ...

Posted by abigbluewhale on Sun, 23 Jan 2022 05:45:47 +0100

Nginx+Tomcat load balancing, dynamic and static separation

catalogue I. deploy Nginx load balancer 2, Deploy 2 Tomcat application servers 3, Dynamic and static separation configuration 4, Test effect 5, Nginx load balancing mode 6, Nginx four layer agent configuration I. deploy Nginx load balancer systemctl stop firewalld setenforce 0 yum -y install pcre-devel zlib-devel openssl-devel gcc gcc ...

Posted by Guldstrand on Sun, 23 Jan 2022 00:13:34 +0100