Asking how to forward the addresses of multiple servers on nginx and solve cross-domain problems
漂亮男人
漂亮男人 2017-05-16 17:29:41
0
1
550

Ask how to forward the addresses of multiple servers on nginx and solve cross-domain problems

漂亮男人
漂亮男人

reply all(1)
洪涛

There are relevant configurations in the nginx configuration file
The http part can be configured with upstream
upstream phpserver {
server 127.0.0.1:9000 weight=10;
server x.x.x.x.:xx weight=10;
server x.x.x.x.:xx weight=10;
server x.x.x.x.:xx weight=10;
}
Just configure the server IP and service port

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template