Nginx
W rain or shine w
-
Nginx from beginner to proficient (I) Introduction to Nginx Reverse proxy means that the proxy server accepts the connection request on the Internet, forwards the request to the server on the internal network, and returns the result obtained from the server to the client requesting the connection on the Internet. At this time, the proxy server acts as a reverse proxy server externally. Nginx itself is also a server with static resources. When there are only static resources, you can use Nginx as the server. If a website is only a static page, you can deploy it in this way. The FTP server usually provides an upload function. Other applications can obtain static resources from the static server if they need them. original 2024-05-20 18:12:17 · 445 Reading· 0 Comments -
Analyzing Nginx Framework from a Technical Perspective Of course, the concurrent request here refers to the unfinished request. There is only one thread, so there is only one request that can be processed at the same time. It is just a continuous switch between requests. The switch is also active because the asynchronous event is not ready. The asynchronous non blocking event processing mechanism, specifically, system calls such as selectpoll/poll/kgueue, can monitor multiple events at the same time. The calls are blocked, but the timeout can be set. Within the timeout, if any event is ready, it will return. Compared with multithreading, this event processing method has great advantages. It does not need to create threads, occupies little memory for each request, and has no context switching. Event processing is very lightweight. original 2024-05-20 17:46:21 · 1386 Reading· 0 Comments -
Nginx: from beginner to proficient Swiss army knife of Nginx Web server Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server. It is characterized by less memory and strong concurrency. In the case of high connection concurrency, it can use fewer resources to provide higher access performance. It has a variety of working modes, two of which are as Web server and reverse proxy server. Nginx: It is favored for its high performance, high concurrent processing capacity, low resource consumption and excellent static resource services, and is suitable for being a reverse proxy and static resource server. Apache: Known for its powerful functions, modularity and flexibility, it is suitable for handling complex Web applications and dynamic content, but its resource consumption is relatively high. original 2024-05-19 11:52:06 · 1001 Reading· 0 Comments -
Nginx learning research - Docker installs Nginx to implement reverse proxy Docker installs Nginx to implement reverse proxy. For security reasons, we usually set reverse proxy to mask the real IP and port number of the application. The most commonly used reverse proxy on Linux is Nginx. I Nginx installation and deployment 1. Download nginx image docker pull nginx [The transfer of the external link image failed, and the source station may have an anti leech mechanism. It is recommended to save the image and upload it directly (img-z75d58tg-1627219716343) (C: Users Administrator AppData Roaming Typora Typora user imag original 2021-07-25 21:32:30 · 297 Reading· 0 Comments -
Nginx Learning Research - Nginx Installing SSL and Configuring HTTPS Nginx Installing SSL Configuring HTTPS I. Detection Whether the Nginx SSL module has been installed. 1. Enter the Docker and the Nginx container 92a0c8382918 is CONTAINER_IDdocker exec -it 92a0c8382918 /bin/bash2、 View nginx compilation parameters: nginx - Vnginx - V3. Check whether there is the -- with-http_gzip_static_module parameter. Copy the configuration arguments parameter information and search if there is no – w original 2021-07-25 21:24:44 · 828 Reading· 4 Comments -
Nginx Learning Research - Nginx Configuration Details I Nginx Introduction Nginx is a lightweight web server, reverse proxy server, and email (IMAP/POP3) proxy server. It has three main functions, namely, web server, reverse proxy (configuring SSL certificate, Http to https) and load balancing. II Nginx.conf file structure description:# Global block events {# events block...} http # http block {... # http global block server ... original 2021-03-27 21:59:47 · 204 Reading· 2 Comments