# 配置路由去除index.php

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