添加域名后访问到的仍是默认安装成功页面
已经添加了域名,但访问到的仍然是默认页面。conf文件server{
listen 80;
#listen [::]:80;
server_name www.wuschen.com m.wuschen.com wuschen.com;
index index.html index.htm index.php default.html default.htm default.php;
root/home/wwwroot/www.wuschen.com;
include discuz.conf;
#error_page 404 /404.html;
location ~ [^/]\.php(/|$)
{
# comment try_files $uri =404; to enable pathinfo
try_files $uri =404;
fastcgi_passunix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
#include pathinfo.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
access_log/home/wwwlogs/www.wuschen.com.logaccess;
} 有可能其他配置文件有错误没生效或没重启nginx
页:
[1]