ci 在阿里云访问的时候404

最近想把ci 弄到阿里云去,结果发现,本地好好的,到了阿里云就404了。网上查了下 原来是 配置文件的问题。

配置文件就是 vhost下面的 **.conf文件  要有这个才行 

location / {
        index index.php index.html;
        if ( !-e $request_filename ) {
            rewrite .* /index.php last;
        }
    }

  

posted @ 2015-11-27 10:11  miyaye  阅读(159)  评论(0编辑  收藏  举报