ci 在阿里云访问的时候404
最近想把ci 弄到阿里云去,结果发现,本地好好的,到了阿里云就404了。网上查了下 原来是 配置文件的问题。
配置文件就是 vhost下面的 **.conf文件 要有这个才行
location / {
index index.php index.html;
if ( !-e $request_filename ) {
rewrite .* /index.php last;
}
}
最近想把ci 弄到阿里云去,结果发现,本地好好的,到了阿里云就404了。网上查了下 原来是 配置文件的问题。
配置文件就是 vhost下面的 **.conf文件 要有这个才行
location / {
index index.php index.html;
if ( !-e $request_filename ) {
rewrite .* /index.php last;
}
}