LNMP环境升级到3.0.2出现502错误
我一直使用的是查询字符串模式,没有设置伪静态使用2.2.1的时候一直是好的
现在升级到3.0.2出现502错误。
php版本是对的
Nginx使用的是默认的配置
server
{
listen 80;
#listen [::]:80;
server_name xixi.fm www.xixi.fm;
index index.html index.htm index.php default.html default.htm default.php;
root/home/wwwroot/xixi.fm;
include none.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 off;
}
请大神帮忙看下 这个要怎么改。
天啊撸 我真是日了狗了 到底改了什么啊
页:
[1]