Common problems and solutions of nginx

https reverse proxy configuration ● the fixed port number of HTTPS is 443, which is different from port 80 of HTTP ● the SSL standard requires the introduction of security certificates, so in nginx In conf, you need to specify the certificate and its corresponding key Others are basically the same as http reverse proxy, but the configuration i ...

Added by elfeste on Thu, 27 Jan 2022 21:05:13 +0200

How to optimize nginx and anti-theft chain

nginx hidden version Under normal circumstances, let's check the current nginx version number. curl can be used [root@server nginx-1.15.9]# curl -I 12.0.0.8 HTTP/1.1 200 OK Server: nginx/1.15.9 Date: Thu, 24 Jun 2021 12:39:22 GMT Content-Type: text/html Content-Length: 46 Last-Modified: Thu, 24 Jun 2021 03:10:57 GMT Connection: keep-alive ...

Added by platinum on Thu, 27 Jan 2022 12:52:38 +0200

windows system configuration Nginx uses SSL certificate to realize Https reverse proxy

Nginx reverse proxy service can receive requests on behalf and forward them to other servers set up. For example, the Nginx server is 100.101.102.103 and the A service is 100.101.102.104. Through the Nginx configuration file, the Nginx server agent can receive the request of A service and then forward it to the A service. Through SSL certificat ...

Added by Phate on Thu, 27 Jan 2022 05:05:53 +0200

Spring Boot implementation consistency Session application instance

Initialize project 1. Create a new Spring Boot project, add web by default, and wait for the completion of the construction. After the completion, the directory structure is as follows: . ├── HELP.md ├── login-session-demo.iml ├── mvnw ├── mvnw.cmd ├── pom.xml ├── src │   ├── main │   │   ├── java │   │   ├── resources │   │   └── webapp │   ...

Added by anon_login_001 on Wed, 26 Jan 2022 21:30:09 +0200

How to create an SSL certificate with Jianmu CI and deploy it to nginx

introduce Hypertext Transfer Protocol HTTP protocol is used to transfer information between Web browser and Web server. HTTP protocol sends content in clear text without providing any way of data encryption. If an attacker intercepts the transmission message between Web browser and Web server, he can directly read the information. In order to ...

Added by cool30 on Wed, 26 Jan 2022 04:18:03 +0200

Bidirectional authentication of Nginx

Bidirectional authentication of Nginx 1, Foreword Reference link OPENSSL encryption DSA,RSA introduction By default, the client trusts the authoritative CA organization, and the operating system has built-in CA certificate. To put it bluntly, the operating system has the public key of CA certificate by default. For example, we can acc ...

Added by stephaneey on Tue, 25 Jan 2022 21:46:02 +0200

Common scene simulation of Nginx jump

Common scene simulation of Nginx jump 1, Nginx jump introduction: Now, Nginx has become the first choice for many companies as front-end reverse proxy servers. In practical work, they often encounter a lot of requirements for jump (Rewriting uRL). For example, after changing the domain name, you need to keep the old domain name jump to the ne ...

Added by riwan on Tue, 25 Jan 2022 20:50:12 +0200

Handwriting memory pool and code analysis [C language]

The memory pool manages the heap When a process executes, the operating system will allocate 0~4G of virtual memory space to the process. The parts that programmers can manage (allocate and release) are mmap mapping area and heap heap area, and the part managed by memory pool is the heap area of user process. Why use a memory pool? Memory po ...

Added by dotMoe on Tue, 25 Jan 2022 16:38:29 +0200

Limit flow for three devices in high concurrency systems

Catalog 1. Three devices for high concurrency systems 2. Current Limiting Algorithms 2.1 Fixed Window algorithm 2.2 Sliding Window algorithm 2.3 Leaky Bucket algorithm 2.4 Token Bucket algorithm Comparison of 2.5 Leakage Bucket and Token Bucket Algorithms 3. Scenarios for application of current-limiting algorithms 3.1 Google Guava 3 ...

Added by niall_buckley on Mon, 24 Jan 2022 20:17:45 +0200

Linux: install Linux services as system services

catalogue Installation steps configuration parameter Nginx common commands Nginx as a system service script After adjusting the script according to your actual situation, copy it to the specified directory Abnormal problem env: /etc/init.d/nginx: there is no such file or directory PID file /var/run/nginx.pid not readable (yet?) after ...

Added by Canman2005 on Sat, 22 Jan 2022 00:13:22 +0200