排序
解决Nginx + PHP(FastCGI)遇到的502 Bad Gateway错误
Nginx + PHP(FastCGI)模式下,可能会遇到502 Bad Gateway错误。这是因为Nginx无法连接到PHP-FPM进行请求处理所致。产生此错误的常见原因有: 1. PHP-FPM没有启动或启动失败解决方案:检查PHP-FPM的...
thinkphp在nginx下配置支持伪静态的方法
thinkphp在nginx下配置支持伪静态的方法,代码如下: server { listen 80; server_name tom.test.cn; access_log /data/wwwlogs/tom.test.com_nginx.log combined; root /data/wwwroot/tom.test...








