The whole process of configuring uwsgi nginx by django
Django Nginx+uwsgi installation configuration
We use python manage.py runserver to run the server. This applies only in the test environment. For officially released services, we need a stable and sustainable server, such as apache, Nginx, lighttpd, etc. This article will take Nginx as an example.
uwsgi introduction
When it comes to uwsgi, I ...
Added by anoesis on Sat, 02 Oct 2021 20:44:11 +0300
Self operation and maintenance deployment of docker+jenkins+vue+nginx+gitee
Self operation and maintenance deployment of docker+jenkins+vue+nginx+gitee
Deployment idea:
1: First, the normal manual deployment is actually very simple
1. Under the completed project root directory
npm install
npm run build
2. If successful, a built directory dist will be generated 3. Then put this folder in the default generated htm ...
Added by CodeJunkie88 on Sun, 26 Sep 2021 07:31:25 +0300
Linux+Nginx deployment Vue project (dist file)
Linux+Nginx deployment Vue project (dist file)
Project scenario:
Project scenario: Linux deployment Vue project
Idea:
1. Package the Vue project into dist package 2. Upload dist package to the server 3. Install Nginx 4. Configure Nginx[nginx.conf] 5. Restart Nginx
Operation:
1.1 package dist file:
[problems encountered during pack ...
Added by jd307 on Wed, 22 Sep 2021 19:14:51 +0300
nginx load balancing upstream and proxy_pass - (linux operation and maintenance 23)
1. Cluster preparation
Cluster: a group of servers doing the same work
1.1 cluster construction of virtual environment
The web01 virtual machine will be shut down first for cloning. Boot configuration ip hostname The configuration of the web cluster is as follows:
Host nameipweb01192.168.246.7web02192.168.246.8web03192.168.246.9
Mo ...
Added by sasi on Mon, 20 Sep 2021 17:01:00 +0300
2021-09-08-Nginx Note 1: Nginx Basic Configuration
Forward Proxy Server
The server between the client and the target server. The client sends a request to the proxy and specifies the target server. Then the proxy requests and obtains the content from the target server and returns it to the client. In general, the proxy server is a forward proxy server.Core: Users know the target server the ...
Added by rileyrichter on Wed, 08 Sep 2021 08:12:56 +0300
Comprehensive analysis of advanced core knowledge in Java, nginx architecture diagram
<servlet-name>springmvc</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet </servlet-class>
<!-- If not set init-param Label, you must/WEB-INF/Create under xxx-servlet.xml File, where xxx yes servlet-name The name of the configuration in. -->
<init-param>
<param-name>co ...
Added by mistercoffee on Thu, 02 Sep 2021 23:37:18 +0300
Microservice - call of service
typora-copy-images-to: imgs
Call between microservices
1. Call of microservice - Ribbon + resttemplate (independent component)
1. What makes Ribbon
Ribbon is a client-side load balancer, which is used to call the load balancing of microservices between spring cloud
2. Load balancing between se ...
Added by PcGeniusProductions on Fri, 26 Jun 2020 09:14:44 +0300
Detailed explanation of Docker Dockerfile instructions and practical cases
Dockerfile introduces and commonly used instructions, including FROM, RUN, COPY, ADD, EXPOSE, WORKDIR, etc. in fact, dockerfile has powerful functions and provides more than ten instructions.
About Dockerfile
Dockerfile is a text file used to build an image. The text content contains instructions and instructions required to build an image. ...
Added by programguru on Sun, 21 Jun 2020 11:49:45 +0300
Reverse proxy and load balancing in Apache 2.4
The content of the article is from the official document: http://httpd.apache.org/docs/2.4/howto/reverse_proxy.html
Like nginx, Apache httpd provides reverse proxy and load balance.
The following modules need to be enabled in the Apache httpd configuration:
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_balancer_module modules/mo ...
Added by vund0 on Sat, 13 Jun 2020 11:05:30 +0300
Fastdfs_5.08 + nginx_14.0 cluster deployment
Fastdfs_5.08 + nginx_14.0 cluster deployment
Server planning:
1, All tracker and storage nodes should execute:
2, Configure tracker server
3, Configure storage server
4, File upload test (ip01)
5, Install fastdfs nginx module on all storage nodes
6, Verify: access files uploaded during test through ...
Added by knucklehead on Thu, 11 Jun 2020 07:13:58 +0300