The comparison of Apache and Nginx on the internet is also a lot of, here will not repeat, there is a chance to explain in detail.
I believe that with WordPress bloggers will use pseudo static, pseudo static benefits of search engine friendly, looks good.
With the virtual host users are mostly using Apache,apache pseudo static WordPress support is very good, almost do not own to edit. Love toss, favorite independent bloggers with VPS or a lot of nginx in the VPS as an erection environment is quite common, but with Nginx when WordPress becomes blind, here on how to set pseudo static Nginx.
We do not need to understand how to write pseudo static, do not need to understand the principle, just follow the method below, your WordPress can be opened under the Nginx pseudo static! Just do it!
Nginx don't need. htaccess
Edit the virtual host's nginx.conf (usr/local/nginx/conf/vhost/domain name. conf. must be your domain name configuration file!), in
server {
Listen 80;
server_name ...
Root ... Add after
Location/{
Index index.html index.php;
if (-f $request _filename/index.html) {
Rewrite (. *) $1/index.html break;
}
if (-f $request _filename/index.php) {
Rewrite (. *) $1/index.php;
}
if (!-f $request _filename) {
Rewrite (. *)/index.php;
}
And then reload Nginx: (This is important)
/etc/init.d/nginx Restart//cenots
End of full text