Nginx - Introduction and installation - (cloud computing course)
Nginx (engine x) is a lightweight HTTP server software. It has the advantages of good stability, rich function sets, simple configuration files and low consumption of system resources. It occupies less memory and has strong concurrency (a single physical server can support 30000 ~ 50000 concurrent requests). Compared with nginx, apache's ...
Posted by ndorfnz on Wed, 17 Nov 2021 17:27:48 -0800
1 - [high performance Nginx server] - 10 LVS + kept + Nginx to achieve high performance load balancing cluster
1 LVS action
LVS is an open source software, which can realize transport layer and four layer load balancing.
LVS is the abbreviation of Linux Virtual Server, which means Linux Virtual Server.
Currently:
Three IP load balancing technologies: VS/NAT, VS/TUN and VS/DREight scheduling algorithms: rr, wrr, lc, wlc, lblc, lblcr, dh, sh
2. Diffe ...
Posted by Comdemned on Tue, 16 Nov 2021 17:09:30 -0800
NGINX optimization and anti-theft chain
Operation steps
1. Install nginx
[root@localhost ~]# yum -y install pcre-devel zlib-devel gcc gcc-c++ make
[root@localhost ~]# useradd -M -s /sbin/nologin nginx
[root@localhost opt]# cd nginx-1.12.0/
[root@localhost nginx-1.12.0]# ./configure \
> --prefix=/usr/local/nginx \
> --user=nginx \
> --group=nginx \
> --with-http_stub ...
Posted by benyamin on Fri, 12 Nov 2021 04:39:37 -0800
Nginx --- dynamic and static separation
Nginx and Tomcat deployment
We all know that Nginx has very high performance in high concurrency scenarios and processing static resources, but in actual projects, in addition to static resources, there are background business code modules. Generally, background business will be deployed on Web servers such as Tomcat, weblogic or websphe ...
Posted by snowdog on Wed, 10 Nov 2021 13:38:56 -0800
Nginx Rewrite + regular expression
preface
Now Nginx has become the first choice for many companies as front-end proxy pass 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 new domain name, change a web page and jump to a new page, we ...
Posted by landysaccount on Wed, 10 Nov 2021 06:05:24 -0800
From scratch, use VuePress to build a personal static blog website
1, Why VuePress
There are many tools commonly used to build Blog websites, such as WordPress,Jekyll,Hexo,Docsify Each tool has its own advantages. You can choose according to your preferences, but it is not recommended that you spend energy on studying the use of each tool. After all, building a blog is only the first step. Writing and sharing ...
Posted by leeperryar on Mon, 08 Nov 2021 11:01:55 -0800
Detailed explanation of the most detailed Nginx configuration in history
Nginx common functions
1. Http proxy, reverse proxy:
As one of the most commonly used functions of web server, especially reverse proxy. When working as a reverse proxy, nginx provides stable performance and flexible forwarding function. Nginx can adopt different forwarding strategies according to different regular matching, such as file ser ...
Posted by fiona on Sat, 30 Oct 2021 02:16:19 -0700
centos7 builds LNMP and deploys wordpress
**WordPress is a commonly used software for building personal blog websites, which is developed in PHP language.
Build nginx By default, CentOS 7.6 does not have the source of nginx. You need to configure the official website of nginx to provide the source address of Gentos. Configure nginx source
[root@hl-web lnmp-wordpress]# rpm -Uvh h ...
Posted by bUcKl3 on Sat, 30 Oct 2021 01:56:20 -0700
Detailed explanation of Nginx configuration file ③
Open status interface
First, install the corresponding software package -- with HTTP when compiling_ gzip_ static_ Module, then add content to the configuration file, and finally access it in the browser
[root@nginx conf]# pwd
/usr/local/nginx/conf
[root@nginx conf]# vim nginx.conf
......
location / {
root html;
index index.html ...
Posted by hawnted on Thu, 28 Oct 2021 07:00:01 -0700
nginx configuring load balancing
nginx load balancing
Based on the existing network structure, load balancing provides a cheap, effective and transparent method to expand the bandwidth of network equipment and servers, increase throughput, strengthen network data processing capacity, and improve network flexibility and availability.
With the development of the website a ...
Posted by jredsmyth on Wed, 27 Oct 2021 00:55:29 -0700