标签:
错误提示为 /var/log/nginx/error.log
Nginx ‘rewrite or internal redirection cycle while internally redirecting‘ resulting in 500
找了好久,怎么改都是无限循环index/
最后发现rewrite这样写就可以了
if (!-e $request_filename){
rewrite ^(.*)$ /index.php?q=$1 last;
break;
}
Nginx 'rewrite or internal redirection cycle while internally redirecting' resulting in 500
标签:
原文地址:http://www.cnblogs.com/you-jia/p/4633579.html