NGINX伪静态规则location / {if (!–e $request_filename) {rewrite ^/(.*)$ /index.php?q=$1&$args last;break;}}