Nginx gray release ---- [cookie], [IP]

Grayscale publishing refers to a publishing method that can smoothly transition between black and white. AB test is a grayscale release method, allowing some users to continue to use A and some users to start using B. If users have no objection to B, then gradually expand the scope and migrate all users to B.Grayscale publishing can ensure the ...

Posted by codeDV on Mon, 21 Nov 2022 16:17:25 +0300

Docker packaging front-end and back-end project image deployment documents

illustrate This time, 6 ports are used to do a front-end and back-end docker image deployment 8080,8081 are the ports of the two backend services 8082,8083 are the ports for the two front ends The project uses nginx as a proxy to solve the cross-domain problem caused by different front-end and back-end ports, because I use both the front-end ...

Posted by knight on Sat, 05 Nov 2022 03:38:32 +0300

Detailed explanation of Redis caching problems

cache penetrationCache penetration means that the data requested by the client does not exist in the cache and the database, so the cache will never take effect, and these requests will hit the databaseIf a malicious user uses countless threads to concurrently access non-existent data, these requests will all reach the database, which is likely ...

Posted by bliss322 on Sun, 25 Sep 2022 21:01:59 +0300

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