Nginx下的wordpress的url重写规则

location / {
            root   /usr/share/nginx/html/blog.kiccp.com;
            index index.php  index.html index.htm;
            try_files $uri $uri/ /index.php?$args;
        }
location ~* .(js|css|png|jpg|jpeg|gif|ico)$ {
        root /usr/share/nginx/html/blog.kiccp.com;
        expires 24h;
        log_not_found off;
        }