rewrite ^/(.*)([^/])$ http://$host/$1$2/ permanent;
if (!-e $request_filename) {
return 404;
}
一键工具转的,出问题不负责