/etc/nginx/fastcgi_params 添加一行即可

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

相关文章: