复制代码 代码如下:
server {
listen 80;
server_name jb51.cn ;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header REMOTE-HOST $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
access_log /home/www/logs/jb51.cn_access.log;
location /robots.txt {
root /home/www/www.jb51.cn;
}
location / {
proxy_pass 或者其他域名:82;
}
}
新闻热点
疑难解答
图片精选