nginx php出现Gateway Time-out错误怎么解决?
网友回复
修改nginx.conf,在fastcgi_pass后面增加
fastcgi_connect_timeout 300s; fastcgi_send_timeout 300s; fastcgi_read_timeout 300s; fastcgi_buffer_size 128k; fastcgi_buffers 8 128k;#8 128 fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; fastcgi_intercept_errors on;
如下:
location ~ \.php { root /web/webroot; fastcgi_pass 127.0.0.1:9000; fastcgi_index ...
点击查看剩余70%