Study Notes (44): Nginx performance under high concurrency optimization combat -Nginx configure web applications Cluster Setup

Learning immediately: https://edu.csdn.net/course/play/27216/358405?utm_source=blogtoedu

1. http module configuration file to increase

upstream localhost{

server 192.168.1.2:8081;

server 192.168.1.3:8081;

server 192.168.1.4:8081;

}

 2. localtion server submodules / {} of the following:

proxy_pass http://localhost;

Provided that server_name is localhost

Published 75 original articles · won praise 34 · views 270 000 +

Guess you like

Origin blog.csdn.net/huanggang982/article/details/105348129