Home  >  Article  >  Backend Development  >  ngix,该怎么处理

ngix,该怎么处理

WBOY
WBOYOriginal
2016-06-13 12:53:561154browse

ngix
ngix 配置文件:ngix.conf

#设定负载均衡的服务器列表
     upstream mysvr {

      #weigth参数表示权值,权值越高被分配到的几率越大
       server 192.168.8.1x:3128 weight=5;#本机上的Squid开启3128端口
       server 192.168.8.2x:80  weight=1;
      server 192.168.8.3x:80  weight=6;
    }

   upstream mysvr2 {

     #weigth参数表示权值,权值越高被分配到的几率越大
      server 192.168.8.x:80  weight=1;
     server 192.168.8.x:80  weight=6;
   }

请问:server后的ip设置是指服务器的ip地址吗?


------解决方案--------------------
是的,,,,,,,,,,
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn