1、请先检查你的index.php有没有问题,也许你关闭了所有错误输出,这是php解析出问题就导致空白页。
2、你的try_files好像和我的不太一样,我的是这样样子,一直正常工作好几年了
try_files $uri $uri/ /index.php?q=$uri&$args;
刚刚遇到了同样的问题,已经解决。
我注意到你的配置文件里面有两个root
,第二个location
块中有一个$document_root$fastcgi_script_name
;此处的$document_root
的值可能不是你期望的/var/www/zengzhang.in/
,换成这个值试试看。就是把第二个location
中的$document_root$fastcgi_script_name
换成/var/www/zengzhang.in/$fastcgi_script_name