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

On the underlying principle and implementation of dynamic agent and static agent

What is reflection and what is the function of reflection Java's reflection mechanism refers to that in the running state of the program, you can construct the object of any class, understand the class to which any object belongs, understand the member variables and methods of any class, and call the properties and methods of any object. Th ...

Posted by mania on Sun, 22 May 2022 09:29:53 +0300

[Linux] RHCE exam preparation review network communication netstat and ping commands

netstat command netstat command comes from the abbreviation of the English phrase "network statistics". Its function is to display various network related information, such as network connection status, routing table information, interface status, NAT, multicast members, etc. netstat command is not only applied to Linux system, but ...

Posted by perrij3 on Sun, 22 May 2022 03:35:27 +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

Play with Huawei ENSP simulator series | examples of configuring SSH server to support access to other port numbers

Source: Huawei router configuration guide Organize the test notes while learning and share with you. Infringement is deleted. Thank you for your support! Attach summary sticker: COCOgsta blog_ CSDN blog - video learning notes, experimental notes, translation bloggers target In this example, only legitimate users can establish SSH connectio ...

Posted by Plakhotnik on Sat, 21 May 2022 03:47:33 +0300

Detailed process of Dameng mpp + active and standby

1. Refer to DM for software installation steps_ dw. txt First node Second node EP01 (main) EP02 ((main) EP12 (prepare) EP11 ((standby) 2. Install mpp active / standby --------------------First node 0.101 (1) Initialize instance EP01 main library: ./dminit PATH=/dm8/dmdata DB_NAME=EP01 INSTANCE_NAME="EP01" PORT_NU ...

Posted by shane07 on Sat, 21 May 2022 02:25:45 +0300

Java Web -- servlet (learning notes)

catalogue 1. What is a servlet? 2. Working mode of Servlet 3. What are the main types of servlets 4. Create a Servlet class and configure it to the server 4.1 create a Servlet class and inherit HttpServlet (created manually) 4.2 configuring servlet s in Tomcat (must be configured in web.xml) 4.3 automatic creation and configuration &n ...

Posted by vcarter on Fri, 20 May 2022 01:41:15 +0300

Linux common commands

1, Basic format of command command prompt [root@localhost~]# Of which: rootCurrent login userlocalhosthost name~Current directory#Prompt for superuser$Prompt for ordinary users Command format command [option] [parameter] ==Note: = = individual commands do not follow this format. When there are multiple options, they can be written t ...

Posted by lancia on Fri, 13 May 2022 23:53:07 +0300

Linux server performance view analysis tuning

A view of linux server performance 1.1 cpu performance view 1. View the number of physical CPUs: cat /proc/cpuinfo |grep "physical id"|sort|uniq|wc -l 2. View the number of core s in each physical cpu: cat /proc/cpuinfo |grep "cpu cores"|wc -l 3. Number of logical CPUs: cat /proc/cpuinfo |grep "processor"|wc -l Number of physical CPU ...

Posted by NTM on Mon, 09 May 2022 14:03:23 +0300

Java Essay - BIO, Socket instance, realize the transmission of multiple data

Java Essay - BIO, Socket instance, realize the transmission of multiple data Realize the transmission of multiple data In a previous blog ( Java Notes - BIO Socket Programming Example ), two simple Socket programming examples are given. One is to implement byte stream transmission. Since the server does not know when the data transmi ...

Posted by Zephyris on Sat, 07 May 2022 14:07:06 +0300