TP5+lnmp1.4+nginx下访问一片空白的问题
server{
listen 80;
#listen [::]:80;
server_name www.XXXXX.com c.gXXXXg.com;
index index.html index.htm index.php default.html default.htm default.php;
root/home/wwwroot/defaults/public;
include other.conf;
#error_page 404 /404.html;
location / {
indexindex.html index.htm index.php;
#autoindexon;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=/$1 last;
break;
}
}
# Deny access to PHP files in specific directory
#location ~ /(wp-content|uploads|wp-includes|images)/.*\.php$ { deny all; }
include enable-php-pathinfo.conf;
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
location ~ /.well-known {
allow all;
}
location ~ /\.
{
deny all;
}
access_log/home/wwwlogs/d.log.log;
}
~
以上是TP5配置虚拟主机后,访问时一片空白,大家帮我看下配置文件 哪里错了么?谢谢哈 没有错误信息没法说,按常见问题开php错误日志看看
页:
[1]