+-----------------------------------------------------------------------------
| 复制以下代码到你的配置文件中对应主机里加入就可，一般加到PHP配置的那段上面
+-----------------------------------------------------------------------------

location / { 
 if (!-e $request_filename) {
  rewrite ^/m/index\.html$     /m/index.php last;
  rewrite ^/m/sitemap\.xml$    /m/sitemap.php last;
  rewrite ^/m/(.*)$     /m/include/route.php?route=$1 last; 
  rewrite ^/index\.html$     /index.php last;
  rewrite ^/sitemap\.xml$    /sitemap.php last;
  rewrite ^/(.*)$     /include/route.php?route=$1 last; 
 } 
}