ngix,该怎么处理

WBOY
Release: 2016-06-13 12:53:56
Original
1156 people have browsed it

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地址吗?


------解决方案--------------------
是的,,,,,,,,,,
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!