多个入口访问官方可以访问,访问后台就不行了,需要配置多入口
listen 80;
server_name 172.30.164.199;
index index.php index.html index.htm default.php default.htm default.html login.php;
root /www/wwwroot/nqi/public;
if (!-e $request_filename) {
rewrite /login.php(.*)$ /login.php$1 last;
rewrite ^(.*)$ /index.php/$1;
break;
#rewrite ^(.*)$ /index.php?s=/$1 last;
}