#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid logs/nginx.pid;events { worker_connections 1024;
}http { include mime.types; default_type application/octet-stream;
sendfile on; keepalive_timeout 65;
upstream mzd {
server 127.0.0.1:8082; server 127.0.0.1:8081;
} server { listen 80; server_name www.tuesdayma.com; location / { proxy_pass http://mzd; index index.html index.htm;
} error_page 500 502 503 504 /50x.html; location = /50x.html { root html;
}
}
}配置文件是这样的,而且8082和8081都是能访问的,但是我访问http://www.tuesdayma.com/的时...。。。这是为什么啊??默认的不是轮询吗,理论上应该是8082分配一次8081分配一次啊。。。
添加回答
举报
0/150
提交
取消