网址跳转伪静态规则
rewrite ^/url/([a-zA-Z0-9_-]+)/$ /url/$1 permanent;
rewrite ^/url/([a-zA-Z0-9_-]+)$ /url.php?id=$1 last;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php$1 last;
}
rewrite ^/url/([a-zA-Z0-9_-]+)/$ /url/$1 permanent;
rewrite ^/url/([a-zA-Z0-9_-]+)$ /url.php?id=$1 last;
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php$1 last;
}