Home >Backend Development >PHP Tutorial >Load balancing - detailed explanation of nginx cluster configuration nginx load What does load balancing mean What is the origin of load balancing
Detailed explanation of the steps to configure nginx cluster under tomcat project:
1. Copy the nginx-1.6.0 folder to the specified directory, example D:nginxnginx-1.6.0.
2. Modify E:apache-tomcat-6.0.36confserver.xml, add the
3. Modify E:apache-tomcat-6.0.36webappscommonAppWEB-INFweb.xml and add
4. Configure nginx.conf
4.1 Configure the IP and port number of the service that needs to build a cluster
4.2 Copy the project pages and resources folder to D:nginxnginx-1.6.0htmlcommonApp,
as a cache file, which can be customized and modified Cache file category.
4.3 Modify the IP and port number of nginx for external access
5.cmd locate the nginx directory and enter startnginx to start the service.
6. Turn off the timer function of other services and ensure that one service is started
The above introduces the detailed explanation of load balancing-nginx cluster configuration, including nginx and load balancing. I hope it will be helpful to friends who are interested in PHP tutorials.