Working principle and configuration of nginx

Working principle and configuration of nginx Module and working principle of nginx Nginx consists of kernel and modules. Among them, the design of the kernel is very small and concise, and the work completed is also very simple. Only by looking up the configuration file, the client request is mapped to a location block (location is an ins ...

Posted by srikanthiv on Tue, 26 Oct 2021 05:58:40 -0700

I don't know about Nginx thread pool yet. I'll get you started this time [novice collection recommended]

Nginx solves the c10k problem by using multiplexing IO Technology (such as epoll of Linux, kqueue of FreeBSD, etc.), but the premise is that the request of nginx cannot have blocking operation, otherwise the whole nginx process will stop serving. However, blocking is inevitable in many cases. For example, when a client requests a static file, d ...

Posted by murtoz on Mon, 25 Oct 2021 06:56:01 -0700

Working principle of nginx and configuration of nginx

Working principle of nginx and configuration of nginx 1. Working principle of nginx Nginx modules are directly compiled into nginx, so they belong to static compilation. After starting nginx, the module of nginx is loaded automatically. Unlike Apache, first compile the module into a so file, and then specify whether to load it in the configu ...

Posted by dbrown on Mon, 25 Oct 2021 04:34:17 -0700

Working principle and configuration of nginx

Working principle and configuration of nginx Module and working principle of nginx Nginx consists of kernel and modules. Among them, the design of the kernel is very small and concise, and the work completed is also very simple. Only by looking up the configuration file, the client request is mapped to a location block (location is an ins ...

Posted by ChrisMayhew on Mon, 25 Oct 2021 01:59:12 -0700

How Nginx works, configuration

How Nginx works, configuration 1. Nginx module Nginx consists of a kernel and modules. The design of the kernel is very small and concise, and the work done is very simple. The client request is mapped to a location block only by looking up the configuration file (location is an instruction in the nginx configuration for URL matching), Each i ...

Posted by vitorjamil on Mon, 25 Oct 2021 01:01:18 -0700

Build a live broadcast server nginx + rtmp on Mac

Introduction to live broadcasting technology The live broadcasting technology covers a wide range. Now, it is widely known that the live broadcasting technology will be used in personal live broadcasting of video websites, mobile live broadcasting, security camera monitoring, etc. Introduce various technical links in the live broadcast proc ...

Posted by DedoMraz on Sat, 23 Oct 2021 20:49:13 -0700

Nginx -- matching rules in nginx

preface Powerful functions in nginx, such as rewrite and proxy_pass is inseparable from his matching rules. Understand nginx and learn advanced nginx usage. You must know all kinds of matching priorities and matching syntax 1, nginx location 1. Syntax rules and priorities location [=|~|~*|!~|!~*|^~] /uri/ { ... } = ...

Posted by busin3ss on Fri, 22 Oct 2021 18:06:29 -0700

Introduction to microservices reverse proxy, load balancing, Nginx, cache, distributed lock, Redisson, SpringCache

Reverse proxy In fact, an agent is an intermediary. A and B can be connected directly. A C is inserted in the middle, and C is an intermediary. According to the role of agents, they can be divided into forward agents and reverse agents The forward proxy is the client proxy, the proxy client, and the server does not know the client that actuall ...

Posted by nickvd on Tue, 19 Oct 2021 22:05:06 -0700

nginx common bug summary

1. The front-end route conflicts with the back-end route First knowledge problem Suppose there is a folder of / vue in the nginx project directory, and I also configure a vue project routing service of / vue. At this moment, if I enter localhost:8080/vue, will the browser display the static web page under the vue folder or the configured vue ...

Posted by axm on Mon, 18 Oct 2021 17:34:43 -0700

location Matching for Nginx &&rewrite

1. Common Nginx regular expressions It's also mentioned in the blog before the rule, and it's important to mention it here. ^ : Matches the starting position of the input string $ : Match end position of input string * : Match the previous character zero or more times. Such as " ol*"Can match " o"And " ol","oll" + : Match t ...

Posted by pngtest on Mon, 18 Oct 2021 09:21:42 -0700