Django+Nginx+UWSGI deployment project
For projects written locally, the running results can only be viewed by ourselves and cannot be used by others.
If you want to go online, you can deploy the project on the cloud server through Django+Nginx+UWSGI. At this time, other users only need to enter the URL address to use the project.
Pre depl ...
Posted by pinxxx on Fri, 06 Mar 2020 01:05:24 -0800
Details of nginx reverse proxy, load balancing, and IP hash implementation
1. Implementation of nginx reverse proxy
Three virtual machines are required:
Virtual machine ip function
server1
172.25.1.1 reverse proxy server (build nginx)
server2
172.25.1.2 backend server
server3
172.25.1.3 back end server
(1) Making soft links for nginx
ln -s /usr/local/nginx/sbin/ng ...
Posted by Drezard on Thu, 05 Mar 2020 23:59:04 -0800
Using virtual nodes to create 10000 Pod in kubernetes cluster to support online education business
Using virtual nodes to improve k8s cluster capacity and flexibility
The way of adding virtual nodes in kubernetes cluster has been widely used by many customers. Based on virtual nodes, the Pod capacity and flexibility of the cluster can be greatly improved, and ECI Pod can be created flexibly and dynamically on demand, avoiding the trouble ...
Posted by Michdd on Wed, 04 Mar 2020 23:43:50 -0800
nginx accesses the project through the domain name (do not receive the project name), cookie loss problem details
Recently, I got a domain name. If I want to use it to directly access the project deployed on Tomcat, I have to add the project name at the beginning. After a short configuration, it succeeded. Visit once and arrive at the landing page. As a result, you can't log in. You have been logging in the inte ...
Posted by bundyxc on Wed, 04 Mar 2020 21:16:34 -0800
Picture server Zimg
If there are many picture resources in a project, there will be special picture servers to store pictures. You can observe that the links of pictures on some large websites have special servers, which can improve the performance very well. There are many image server solutions. Through the storage servi ...
Posted by pdpullmn612 on Tue, 03 Mar 2020 23:49:59 -0800
Spring cloud + Nacos configuration center project is published to the server, and nginx is configured
My environment
Windows10
JDK8
SpringCloud: Hoxton.SR1
SpringBoot: 2.2.4.RELEASE
Spring cloud Alibaba dependencies: 2.1.1.RELEASE (Note: package name starts with com.alibaba.cloud)
Nacos-server: NACOS1.1.4
2. Start nacos service (stand-alone mode & embedded database)
0. Premise: configure JAVA_HOME e ...
Posted by microbluechip on Mon, 02 Mar 2020 18:41:11 -0800
Kubernetes Pod Controller
In robotic technology and automation, the control ring is an endless loop of control system state
This is an example of a control ring:'Automatic temperature regulator in a room'When you set the temperature and tell the thermostat your "expected state", the actual temperature of the room is "current state".By switching th ...
Posted by joseph on Mon, 02 Mar 2020 17:09:55 -0800
Prepare for CKA daily question - day 13: static Pod creation method, Pod domain name resolution test
Yesterday's examination questions
Set configuration context $ kubectl config use-context wk8s
configure the kubelet systemed managed service, on the node labelled with name=wk8s-node-1,to launch a pod containing a single container of image nginx named myservice automatically.
Any spec file requried should be placed in the /etc/kuberneteds/mai ...
Posted by snowman2344 on Sun, 01 Mar 2020 20:02:54 -0800
LNMP architecture introduction and construction (source code compilation Nginx, MYSQL, PHP)
LNMP architecture introduction and construction (source code compilation Nginx, MYSQL, PHP)
1. What is LNMP
2. Working principle of LNMP
3. Source compilation of MySQL database
4. PHP source compilation
5. Source compilation of nginx
1. What is LNMP
LNMP is a set of free software acronyms common ...
Posted by chard on Sat, 29 Feb 2020 23:40:03 -0800
Ansible automatic operation and maintenance learning III: yaml syntax and playbook writing
Note: part of the code of the article case will be misaligned. Please pay attention to the format alignment when using!!
Chapter 3 yaml syntax and playbook writing
Ansible's playbook adopts yaml syntax, so before learning ansible playbook, it is necessary to understand and master the grammar format of yaml. Only by practicing and mastering the ...
Posted by JDcrack on Fri, 28 Feb 2020 02:22:44 -0800