|
|

楼主 |
发表于 2010-5-27 16:53:32
|
显示全部楼层
我把这个域名写到 nginx.conf里 server中的wangjing 删除了
server
{
listen 80;
server_name www.wangjing.cc wangjing.cc;
index index.html index.htm index.php;
root /home/www/wangjing;
location ~ .*\.(php|php5)?$
{
fastcgi_pass unix:/tmp/php-cgi.sock;
#fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
access_log off;
}
是使用的 /home/www/wangjing 目录 可是访问还是/home/www |
|