抱歉,评论被关闭
nginx怎样配置反向代理
server
{
listen 80;
# server_name vps.imcat.in;
server_name 192.168.79.129;
location / {
proxy_pass http://www.apoyl.com/;
proxy_redirect off;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
index index.html index.htm index.php;
include location.conf;
# root /home/www;
}
来源:http://jar-c.blog.163.com/blog/static/116401250201051266740/
日志信息 »
该日志于2011-04-11 03:51由 凹凸曼 发表在Nginx分类下,
评论已关闭。
目前盖楼