用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1114|回复: 1
收起左侧

[版本 3.x] LNMP环境升级到3.0.2出现502错误

[复制链接]
发表于 2015-11-27 17:59:43 | 显示全部楼层 |阅读模式
我一直使用的是查询字符串模式,没有设置伪静态

使用2.2.1的时候一直是好的

现在升级到3.0.2出现502错误。

php版本是对的

Nginx使用的是默认的配置


  1. server
  2.         {
  3.                 listen 80;
  4.                 #listen [::]:80;
  5.                 server_name xixi.fm [url]www.xixi.fm[/url];
  6.                 index index.html index.htm index.php default.html default.htm default.php;
  7.                 root  /home/wwwroot/xixi.fm;

  8.                 include none.conf;
  9.                 #error_page   404   /404.html;
  10.                 location ~ [^/]\.php(/|$)
  11.                         {
  12.                                 # comment try_files $uri =404; to enable pathinfo
  13.                                 try_files $uri =404;
  14.                                 fastcgi_pass  unix:/tmp/php-cgi.sock;
  15.                                 fastcgi_index index.php;
  16.                                 include fastcgi.conf;
  17.                                 #include pathinfo.conf;
  18.                         }

  19.                 location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
  20.                         {
  21.                                 expires      30d;
  22.                         }

  23.                 location ~ .*\.(js|css)?$
  24.                         {
  25.                                 expires      12h;
  26.                         }

  27.                 access_log off;
  28.         }

复制代码


请大神帮忙看下 这个要怎么改。
 楼主| 发表于 2015-11-28 15:58:45 | 显示全部楼层
天啊撸 我真是日了狗了 到底改了什么啊

本版积分规则