wordpress博客nginx伪静态规则

wordpress博客nginx伪静态规则

location /
{
try_files $uri $uri/ /index.php?$args;
}

rewrite /wp-admin$ $scheme://$host$uri/ permanent;