Linux -- configure the Rewrite Module of nginx to realize the automatic jump of old and new domain names (Web server cluster, rewrite instance configuration of various nginx, rewrite syntax and detailed explanation of location)

preface It consists of kernel and Nginx module. Nginx itself does little work. When it receives an HTTP request, it just maps the request to a location block by looking up the configuration file, and each instruction configured in the location will start different modules to complete the work. Therefore, the module can be regarded as the real ...

Posted by locell on Tue, 24 May 2022 05:11:51 +0300

Nginx reverse proxy, load balancing and building high availability clusters

Nginx reverse proxy, load balancing and building high availability clusters Premise preparation The first is the installation in the linux environment (the local machine is the Windows version. You can use Vmware, but you need to configure the network connection, etc. the demonstration on the virtual machine will not be shown here. Here, you ca ...

Posted by malcome_thompson on Tue, 24 May 2022 02:36:15 +0300

Source code installation, traffic statistics and virtual host configuration of CentOS 7.6 Nginx

1, Source installation Step 1: unzip the nginx source package to the / opt directory, customize the configuration, and then compile and install [root@server opt]# tar xzfv nginx-1.12.2.tar.gz [root@server opt]# cd nginx-1.12.2/ [root@server nginx-1.12.2]#./configure \ --prefix=/usr/local/nginx \ <-----Specify the installation directory - ...

Posted by mr. big on Tue, 24 May 2022 01:58:20 +0300

Nginx method for configuring multiple HTTPS domain names

I've been playing wechat applet recently. I have: One ECS: CentOS 7 Multiple primary domain names During the development and testing process, for some reasons, you want to make the domain names A and B point to port 443 of the ECS at the same time and support HTTPS. Nginx supports SNI extension of TLS protocol (multiple domain names with diff ...

Posted by the-botman on Tue, 24 May 2022 00:03:36 +0300

4 Introduction to Linux website architecture service

Linux 1 integrated architecture components and service planning Website architecture is generally considered from two aspects: User visits website Site manager visits the site 1.1 user access to website 1.1.1 static cluster architecture When the user visits the website, first resolve the website through the DNS server, and then send a reques ...

Posted by cypr on Mon, 23 May 2022 14:43:28 +0300

Nginx module development: handler module implementation

1, Functions to be implemented by the module Implementation function: count the access times of each ip address and display the corresponding html. (what's the use of this function? It can be made into a black-and-white list according to the statistics of the number of times. For those with more visits, access is prohibited) In the conf f ...

Posted by social_experiment on Sun, 22 May 2022 01:31:06 +0300

Nginx downloads, installs, starts and configures the front and rear request agents in Windows

scene Nginx introductory tutorial - introduction, installation, reverse proxy, load balancing, dynamic and static separation, use examples: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/103101304 The front end is a project made of Vue and the back end is SpringBoot. How to deploy the front and rear end projects on the Windows server ...

Posted by btherl on Sat, 21 May 2022 15:52:59 +0300

openresty+lua+kafka realize log collection

This article is transferred from: https://www.cnblogs.com/gxyandwmm/p/11298912.html ********************* deployment process************************** 1: Scene description For online heavy traffic services or nginx services that need to report logs, a large number of logs will be generated every day. These logs are very valuable. It can be use ...

Posted by jalapena on Fri, 20 May 2022 17:35:24 +0300

Cluster architecture - Nginx load balancing and Tomcat cluster

1: Load balancing technology 1. Introduction of load balancing technology Load balancing technology is a concept that evenly distributes the use of resources. Load balancing: distribute traffic and requests to different servers. Distribute the flow evenly (ideal state) effect: Server disaster recovery traffic distribution Main functions: ① T ...

Posted by davidcriniti on Thu, 19 May 2022 18:09:29 +0300

spring boot memo - Nginx, NPM, EasyExcel

Nginx Nginx is an http server (or web server). The server is divided into web server and application server. The web server (http server) is responsible for processing and responding to user requests, such as Apache, IIS and nginx. The application server is the server that stores and runs the system program and is responsible for processing the ...

Posted by wendymelon on Thu, 19 May 2022 17:48:35 +0300