Home > Article > Backend Development > Nginx simplest load balancing configuration Zhang Yan f5 load balancing nginx tcp load balancing
Download nginx for windows version
Download address: http://nginx.org/en/download.html
Open the CMD window
cd C:nginx Point to the nginx directory
start nginx Start nginx
nginx -s stop // Stop nginx
nginx -s reload // Reload the configuration file
nginx -s quit t2 , there is only index.html in it, ensuring correct access
The following is mainly to configure the nginx.conf file under the conf folder under the nginx folder
The simplest configuration
Visit http://www.54itm.com:81/ Refresh multiple times and find that you can access the content of different index pages
The above introduces the simplest load balancing configuration of Nginx, including nginx and load balancing content. I hope it will be helpful to friends who are interested in PHP tutorials.