码迷,mamicode.com
首页 > 其他好文 > 详细

lei

时间:2016-09-07 13:04:42      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:

upstream pap_backend_conf {
keepalive 128;
server 127.0.0.1:9221 max_fails=2 fail_timeout=5 weight=100;
server 10.110.94.152:9221 max_fails=2 fail_timeout=5 weight=100;
server 10.110.94.152:9220 max_fails=2 fail_timeout=5 weight=100;
}
server {
listen 9220;
server_name _;

#charset koi8-r;

#access_log logs/host.access.log main;

location / {
access_log /letv/logs/nginx/access.log main;
error_log /letv/logs/nginx/error.log;
proxy_pass http://pap_backend_conf;
}

}

lei

标签:

原文地址:http://www.cnblogs.com/coding4/p/5848857.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!