错误提示为 /var/log/nginx/error.log
Nginx 'rewrite or internal redirection cycle while internally redirecting' resulting in 500
解决办法:
在虚拟主机配置文件中加上
<span style="font-size:14px;">## Wordpress Rewrite
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?q=$1 last;
break;
}
</span>
参考解决办法地址:
http://stackoverflow.com/questions/18321325/nginx-rewrite-or-internal-redirection-cycle-while-internally-redirecting-resul