nginx[4] Build an available static resource Web server
1. Download dlib
dlib
$ wget http://dlib.net/files/dlib-19.23.zip
$ unzip dlib-19.23.zip
$ rm -rf dlib-19.23.zip
$ ls -l
Total dosage 0
drwx------ 2 nobody root 6 2 July 21:54 client_body_temp
drwxr-xr-x 2 root root 333 2 July 21:53 conf
drwxrwxr-x 7 root root 226 1 February 2511:16 dlib-19.23
drwx------ 2 nobody root 6 2 July 21 ...
Posted by tarleton on Mon, 07 Feb 2022 18:14:16 +0100
docker's nginx image optimization 4
Thin images have been selected, so reduce the number of layers of images and merge the previous runs together. Switch WORKDIR to cd under RUN Previous Dockerfile:
FROM rhel7
EXPOSE 80
VOLUME ["/usr/local/nginx/html"]
COPY dvd.repo /etc/yum.repos.d/dvd.repo
RUN rpmdb --rebuilddb
RUN yum install -y gcc pcre-devel zlib-devel
ADD nginx-1.18.0.tar ...
Posted by pradeepknv on Fri, 04 Feb 2022 06:17:55 +0100
LNMP's Nginx! Service deployment and various uses of configuration files
1, Overview
1.1 about Nginx
Like Apache, nginx uses modular design. Nginx module includes built-in module and third-party module, in which the built-in module includes main module and event moduleSimply put, both apache httpd and nginx are web servers, but they adapt to different scenarios, that is, they focus on solving different problem ...
Posted by iamyespee on Thu, 03 Feb 2022 06:02:28 +0100
Nginx website service
1, Overview
Nginx is a high-performance, lightweight Web service software.
advantage
(1) High stability (2) Low system resource consumption (3) High processing capacity for HTTP concurrent connections (4) A single physical server can support 30000 ~ 50000 concurrent requests
2, Steps and practice of configuring Nginx
(1) Turn off the f ...
Posted by redsox8185 on Wed, 02 Feb 2022 03:08:14 +0100
Detailed explanation of Nginx configuration
Nginx
1.nginx introduction
Nginx function classification: (user access portal)
1. Reverse proxy, which only provides nginx server domain name to the outside, and hides the actual server address and port.
2. Load balancing. Generally, the reverse agent will also do load balancing at the same time.
3. Dynamic and static separation, and deplo ...
Posted by tpl41803 on Tue, 01 Feb 2022 16:11:53 +0100
Configuration examples for Nginx load balancing and reverse proxy
1. Complete Nginx reverse proxy example
Suppose you have a nginx server (192.168.56.101) to use as a reverse proxy server, then add three web servers that provide the same service and configure nginx+php on the web server. The three web servers are 103, 105, 106
# Users and User Groups Used
user nginx nginx;
# Specify the number of work-deri ...
Posted by almystersv on Tue, 01 Feb 2022 07:51:17 +0100
WNMP project environment deployment
Nginx download address: http://nginx.org/en/download.html
MySQL download address: https://dev.mysql.com/downloads/mysql/
PHP download address: https://windows.php.net/download/
Step 1: download the required installation package
Create a new folder containing the above three compressed packages, and create three directories to extract them ...
Posted by thunderdogg on Mon, 31 Jan 2022 03:02:06 +0100
Calm down and talk about Nginx
Date: May 20, 2021 Author: Commas Note: calm down and chat about Nginx, add tiles and bricks to your knowledge house, and hope to help you at the same time. If you think it's helpful, please give me a favor; If there is something wrong, I hope you guys will give me advice. Thank you ^ -^
1, Definition of Nginx
Nginx (engine x) is a ...
Posted by TheJoey on Sun, 30 Jan 2022 06:36:24 +0100
gin plus vue use nginx proxy to deploy server
The front and back ends are separated, and then deployed to a server. When vue is packaged, the benchmark path is packaged as the address of the back-end service without adding the end slogan. Then, the main operations of the back-end and server are as follows: You can use goland to connect to the server, which is more convenient The server is ...
Posted by lnfreish on Fri, 28 Jan 2022 11:32:38 +0100
Detailed explanation of Nginx agent function and load balancing
Configuration description of Nginx proxy service
1. In the previous article, we have the following configuration in the http module. When the agent encounters the status code 404, we direct the 404 page to Baidu.
error_ page 404 https://www.baidu.com # Error page
However, careful friends can find that this configuration does not work. ...
Posted by 99naa on Thu, 27 Jan 2022 23:35:02 +0100