Setting the Nginx server configuration block on CentOS 8

Introduction:   A server configuration block is an Nginx instruction, which defines the settings for a specified domain name and allows you to run multiple websites on a single server. For each website, you can set the root directory of website files (the directory containing website files), create an independent security policy, use diffe ...

Posted on Fri, 03 Dec 2021 12:01:16 -0500 by navid

nginx - various strange rewrite requirements

This document documents some of the rewrite requirements I encountered in a production environment. Some conventional rewrite requirements may be ready in minutes, but some complex requirements take up to 4 hours to study. In order to avoid this phenomenon of repeated battles and defeats, it is necessary to record documents and shorten the time ...

Posted on Fri, 03 Dec 2021 06:46:11 -0500 by dotty

docker deployment nginx+php

docker deployment nginx+phpRecently, I was learning about docker. I was going to build the nginx + php development environment. I recorded the building process. First, I gave a copy of docker-compose.yml deployment configurationversion: '3' services: nginx: container_name: mynginx image: nginx ports: - '80:80' volumes: ...

Posted on Fri, 26 Nov 2021 02:36:15 -0500 by dotbands

Nginx common configuration

1. Configure multiple domain names for one site server { listen 80; server_name aaa.cn bbb.cn; } server_name can be followed by multiple domain names, which are separated by spaces 2. Configure multiple sites for one service server { listen 80; server_name aaa.cn; location / { root /home/project/pa; index index.html; } } serv ...

Posted on Mon, 22 Nov 2021 12:46:28 -0500 by KoshNaranek

Introduction and construction steps of LVS+Keepalived high availability cluster

catalogue I   Introduction to keepalived tool 1. A health examination tool specially designed for LVS and HA 2. Implementation principle of keepalived 3.VRRP (virtual routing Redundancy Protocol) 2, Construction of LVS+Keepalived high availability cluster 1. Main DR server (192.168.68.200) 1. Install the Keepalived program two &nbs ...

Posted on Sun, 21 Nov 2021 04:29:05 -0500 by sspoke

Docker installation uses Rancher

1. Download Mirror Rancher is an enterprise Kubernetes management platform that meets the needs of DevOps teams deploying applications using Kubernetes and IT personnel delivering enterprise critical services # 1. Pull the rancher image docker pull rancher/server # 2. Start rancher docker run -id --name rancher -p 9090:8080 rancher/server ...

Posted on Sun, 21 Nov 2021 03:18:19 -0500 by joe_C_nice

As a Java programmer, you don't know Nginx yet? Come and study!

Nginx After watching the crazy video of station B, Xiaobian benefited a lot and wrote down this article on the way to study Small partners can also get the complete video of crazy God from station B! Home page of crazy God B station 1 Why use Nginx? When our company's project was just launched, the concurrency was small and users used ...

Posted on Sat, 20 Nov 2021 01:17:38 -0500 by disaster77

Introduction and use of word splitter of elastic search

What is a word splitter In our last article, we talked about the inverted index. For example, when we search the bright moon, we may find the ancient poem Jingyesi according to the inverted index. Right? The bright moon looks down and the moonlight is the word divided by the word splitter. My understanding is that we mark the word tag of a cha ...

Posted on Fri, 19 Nov 2021 09:49:55 -0500 by ben2.0

Dynamic static separation cluster for load balancing of Nginx+Tomcat

1, Introduction to Tomcat Originally developed by Sun's software architect James Duncan Davidson After installing tomcat, the directories and files under the installation path are important files for using or configuring Tomcat Tomcat important directory bin: store the startup and shutdown Tomcat scripts conf: store different configu ...

Posted on Tue, 16 Nov 2021 05:10:11 -0500 by jackmn1

docker usage tour of cloud service ECS

Before writing about docker, let's talk about my feelings about Feitian plan. I'm a junior majoring in software engineering. For professional + curious reasons, I want to learn some knowledge and operation about ECs. So when I looked up the server on the official website, I saw this flying acceleration plan, which gave me a great opportunity li ...

Posted on Fri, 12 Nov 2021 15:46:08 -0500 by thebluebus