kubectl Installation and Nginx Configuration Introduced by kubernetes
Links to the original text: https://github.com/opsnull/follow-me-install-kubernetes-cluster
kubectl Installation and Nginx Configuration Introduced by kubernetes
Using nginx 4 layer transparent proxy function, K8S nodes (master and worker ...
Added by unclebob on Tue, 06 Aug 2019 14:03:57 +0300
nginx - Implementing https encryption and redirection
1. Implementing https encryption
We know that now is the age of https, and almost every excellent website has launched https. After opening the HTTPS encrypted access, login to your website, browser address bar will appear a green lock, which is the use of hypertext transfer security protocol (HTTPS), ...
Added by tomdumont on Fri, 02 Aug 2019 09:21:56 +0300
Spring Boot 2.x: Don't panic when you encounter cross-domain
What is cross-domain
First, we need to understand how a URL is made up:
// Protocol + Domain Name (Subdomain + Main Domain Name) + Port Number + Resource Address
http: + // + www.baidu.com + :8080/
As long as one of the four components of protocol, sub-domain name, main domain name and port number is different, it can be considered as differ ...
Added by ricoche on Fri, 02 Aug 2019 05:20:42 +0300
Enterprise Section - --- Web Page Compression under nginx
Experimental environment
We write index.html in/usr/local/nginx/html on a virtual machine with nginx configured. We can access the web successfully and the size of the web page is more than 200 k
configuration file
Nginx compresses web pages and needs to modify niginx's configuration file.Let's fi ...
Added by flash-genie on Tue, 30 Jul 2019 20:44:14 +0300
Distributed Cluster Sharing Session of SpringBook Development Case
Preface
In distributed systems, in order to improve system performance, individual projects are usually split into multiple function-based micro-services. If conditions permit, single micro-services may be scaled horizontally to ensure high availability of services.
So the question is, what kind of problems will we encounter if we use the trad ...
Added by pacome on Tue, 30 Jul 2019 08:30:56 +0300
summernote's solution for uploading pictures to the image server (springboot was successful)
Problems encountered with successful connection but denial of login
Premise to say, I configure the reverse proxy of nginx on my own server, so I will write my ip address directly when requesting. To configure nginx, you can see my notes of nginx.
When the code feels okay, but it still can't be uploaded, first ask yourself if you have been refu ...
Added by RClapham on Tue, 30 Jul 2019 05:47:16 +0300
Introduction to nginx - load balancing
Load balancing purposes:
Forwarding the front-end ultra-high concurrent access to the back-end servers for processing solves the problem that the pressure of a single node is too high, which results in the slow response of Web services, and in serious cases leads to the paralysis of services and the ...
Added by jclarkkent2003 on Sun, 28 Jul 2019 13:48:26 +0300
kong cluster deployment
kong cluster deployment
Attached official cluster reference documenthttps://docs.konghq.com/1.2.x/clustering/
(1) Installing kong on multiple servers
Prepare the server environment for centos7, the first server for centos6, install kong, and execute the following code:
$ sudo yum update -y
$ sudo y ...
Added by JeDi58 on Thu, 25 Jul 2019 13:04:02 +0300
Python command line parameter parsing
1. Introduction of argparse module
argparse is a python standard library used to process command line parameters.
In most cases, scripts may need multiple parameters, and each parameter type has different uses. It is very useful to add labels before parameters to indicate the type and use of paramete ...
Added by GreenUser on Mon, 22 Jul 2019 11:03:38 +0300
nginx configuration file optimization
nginx configuration file optimization
nginx configuration file optimization
1. nginx configuration file simplification
2. Virtual host alias configuration
3. nginx status information configuration
4.0 nginx error log introduction
5.0 User Access Log
6.0 rewrite rewriting url
title: nginx configuration file optimization
tags: nginx,ac ...
Added by bp90210 on Sun, 21 Jul 2019 09:48:02 +0300