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

wp是wordpress的目录 

够简单吧?

via.http://iloong.iteye.com/blog/1867923