全球主机交流论坛
标题:
NGINX删除域名 重新添加后无法访问目录
[打印本页]
作者:
dacangku
时间:
2010-10-6 23:11
标题:
NGINX删除域名 重新添加后无法访问目录
事情是这样的 我原来添加过A域名 后来忘记啦 又添加了一遍。开始上传DEDE,准备安装DEDE的时候 发现访问是WWW目录下的首页文件, 后来又找了下资料把域名文件也删除啦 目录也删除啦,完事后又添加了一遍还是访问的WWW目录
请问 我怎么才能访问下该域名生成的目录呢 用的LNMP一键安装包 请各位不吝赐教
有没有告诉俺 的呢
server
{
listen 80;
server_name www.bmbm110mb.com;
index index.html index.htm index.php default.html default.htm default.php;
root /home/wwwroot/bmbm110mb;
include none.conf;
location ~ .*\.(php|php5)?$
{
fastcgi_pass unix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
access_log off;
}
复制代码
各位帮忙给看看 哪不对呢
重启 是这个命令吧 kill -HUP `cat /usr/local/nginx/logs/nginx.pid` 如果是的话 已经运行过啦
[
本帖最后由 dacangku 于 2010-10-6 23:21 编辑
]
作者:
chinni
时间:
2010-10-6 23:15
修改vhost文件夹下的相关conf文件
我都是手动添加....
作者:
yang
时间:
2010-10-6 23:17
修改/usr/local/nginx/conf/vhost/YourDomain.conf ,里面有路径。
作者:
jamimes
时间:
2010-10-6 23:19
提示:
作者被禁止或删除 内容自动屏蔽
作者:
dacangku
时间:
2010-10-6 23:36
我已经REBOOT了 一会看效果吧
欢迎光临 全球主机交流论坛 (https://hostloc.onozo.cc/)
Powered by Discuz! X3.4