会员登录 | 会员注册 | 意见建议 | 网站地图

站长资源综合门户

当前位置:首页 > 站长学院 > 编程程序 > PHP企业级应用缓存技术详解

PHP企业级应用缓存技术详解

时间:2012-02-27 09:30:57   作者:   来源:   点击:

upstream bsploginsvr {

server 10.10.10.220:443 weight=1;

}

upstream bspregistersvr {

server 10.10.10.220:80 weight=1;

}

log_format test_com ‘$remote_addr – $remote_user [$time_local] “$request” ‘

‘$status $body_bytes_sent “$http_referer” “$http_user_agent” ‘;

#——————————————————————–

#img.test

server {

listen 10.10.10.230:80;

server_name img.test;

location / {

proxy_pass http://bspimgsvr;

include proxy_setting.conf;

}

access_log logs/img.log test_com;

}

#style.test

server {

listen 10.10.10.230:80;

server_name style.test;

location / {

proxy_pass http://bspstylesvr;

include proxy_setting.conf;

}

access_log logs/style.log test_com;

}

#help.test

server {

listen 10.10.10.230:80;

server_name help.test;

location / {

proxy_pass http://bsphelpsvr;

include proxy_setting.conf;

}

access_log logs/help.log test_com;

}

#admin.test

server {

listen 10.10.10.230:80;

server_name admin.test;

location / {

proxy_pass http://bspadminsvr;

include proxy_setting.conf;

}

access_log logs/admin.log test_com;

}

#buyer.test

server {

listen 10.10.10.230:80;

server_name buyer.test;

location / {

proxy_pass http://bspbuyersvr;

include proxy_setting.conf;

}

access_log logs/buyer.log test_com;

}

#seller.test

server {

listen 10.10.10.230:80;

server_name seller.test;

location / {

proxy_pass http://bspsellersvr;

分享到:

网友评论

热门编程程序