解决方案 »

  1.   

    隐去文件名
           location /{
                   index index.html index.htm index.php;
                   if (-e $request_filename) {
                           break;
                   }
                   if (!-e $request_filename) {
                           rewrite ^/(.*)$ /index.php/$1 last;
                           break;
                   }
           }