nginx是window版本
version: nginx-1.11.9
http {
upstream backend {
ip_hash;
server 127.0.0.1:8080 max_fails=3 fail_timeout=20s;
server 127.0.0.1:8086 backup;
}
server {
listen 83;
server_name 127.0.0.1;
location / {
proxy_pass http://backend;
}
}
}
启动 nginx 的时候 报错 错误信息如下:
2017/02/06 10:55:21 [emerg] 7568#4548:
balancing method does not support parameter "backup" in C:\nginx-1.11.9/conf/nginx.conf:51
1
QKgf555H87Fp0cth 2017-02-06 11:06:32 +08:00
Ip_hash balancer does not support backup servers and weight
|
3
QKgf555H87Fp0cth 2017-02-06 11:21:16 +08:00
@teemoer No3Q(IQ EQ LQ)。开玩笑啦,最近看马云和澳洲小伙伴的新闻,新闻里说的这 3Q 。另外还有 JQ , QQ 什么的,笑
|