摘要: 今天出现的问题:Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of in_array_two_di... 阅读全文
posted @ 2014-10-30 19:03 Craze_lee 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 最近老大说要实现负载均衡,今天试着玩了下。在nginx.conf配置ip_hash;可以让同一IP的请求落到固定的一台服务器,也就可以用session机制了。这里设置前两个是同一个服务器两个端口, weight设置权重,映射的权重。第三个server是第二个服务器的。80端口是用来监听,443、80... 阅读全文
posted @ 2014-10-30 18:05 Craze_lee 阅读(131) 评论(0) 推荐(0) 编辑