Nginx -- rewrite application example

Application example 1. Domain name based jump Now the old domain name www.old.com of the company needs to be replaced by the new domain name www.new.com, but the old domain name can not be abolished, and it needs to jump to the new domain name, and the later parameters remain unchanged. 1. Install Nginx service [root @ localhost ~] ා RPM - ...

Added by Steffen on Wed, 27 Nov 2019 07:23:18 +0200

LVS-NAT Load Balancing Cluster Deployment

Introduction to LVS LVS (Linux Virtual Server), the Linux virtual server, is an open source load balancing project led by Dr. Zhang Wensong. At present, LVS has been integrated into the Linux kernel module.The project implements an IP-based load balancing scheduling scheme for data requests in the Linux kernel. The architecture of the scheme ...

Added by Optimo on Wed, 27 Nov 2019 05:19:33 +0200

Theory: DNS Domain Name Resolution Service - - theoretical explanation

Preface: BIND Domain Name Service Base The Role and Type of DNS System BIND Installation and Profile Building a Domain Name Server with BIND Build Cached Domain Name Server Build master and slave domain name servers Important steps: Find the main configuration file, find the startup script I: The role of the DNS system 1.1 Forward Reso ...

Added by cool75 on Mon, 25 Nov 2019 00:14:36 +0200

Linux:DHCP Server Setup

Understanding how the DHCP protocol works DHCP (Dynamic Host Configuration Protocol) provides the ability to dynamically configure IP addresses.In a DHCP network, clients no longer need to enter network parameters themselves, but are automatically assigned to clients by the DHCP server. IP Address Rental Process IP Lease Request IP Rental Pro ...

Added by bo0 on Sat, 23 Nov 2019 10:41:55 +0200

Linux: DNS Server Setup

Introduction to DNS DNS (Domain Name System) Domain Name System: It is a system that uses client/server mechanism to translate computer name to IP address.As an important network service, DNS is not only the basis of the work of the international Internet, but also widely used in the internal network of enterprises. Role of DNS Server Forward R ...

Added by techcone on Sat, 23 Nov 2019 09:40:22 +0200

Secret and configMap for k8s data persistence

Preface In K8s, there are two resource objects, Secret and configMap. This is also a way to realize data persistence, which is slightly different from the way of PV or mount directory written before. Secret resource object: it can store light sensitive information, such as database user name and password or authentication secret key. Its data ...

Added by Jaguar83 on Wed, 20 Nov 2019 15:13:44 +0200

nginx web page optimization

Nginx web page optimization (1) Configure Nginx hidden version number In the production environment, the version number of Nginx needs to be hidden to avoid the leakage of security vulnerabilities View method Use fiddler tool to view Nginx version number in Windows client Use "curl-i web address" command to view in CentOS system ...

Added by Cleibe on Wed, 20 Nov 2019 13:12:56 +0200

Optimization of Nginx: version hiding, timeout management and process management

Configure Nginx hidden version number In the production environment, the version number of Nginx needs to be hidden to reduce security risks View method 1. Use fiddler I to check the Nginx version number on the Windows client,Use "curl-i web address" command to view in CentOS system The method of hiding version number in Nginx 1. Mod ...

Added by Roble on Fri, 15 Nov 2019 17:44:28 +0200

Nginx optimization log segmentation

Log segmentation 1. Too many log files in the enterprise server cause the following problems:1. It is inconvenient for development and operation and maintenance to query too large log files, especially when overtime workers are tired;2. Long time ago, log files were almost worthless, but manual cleaning was too cumbersome.At this time, a solut ...

Added by Hard Styler on Thu, 14 Nov 2019 22:22:12 +0200

Nginx Optimization - Hide Version Number and Page Cache Time

Configure Nginx Hidden Version Number In a production environment, you need to hide the Nginx version number to avoid securityLeakage of vulnerability View Method< Use fiddler I to view Nginx version number on Windows clientUse "curl-I web address" command to view in CentOS system Nginx Hide Version Number MethodModify Profile Met ...

Added by freshneco on Wed, 13 Nov 2019 21:10:09 +0200