2012年11月5日星期一

504 Gateway Time-out(nginx)的处理

在nginx.conf配置里加入:

fastcgi_buffers 8 128k;

send_timeout 60;

注意添加位置在

http{ }

里,否则不工作

如下上面的设置后还是有504 Gateway Time-out错误,则继续修改添加以下部分

http{

………………

fastcgi_connect_timeout 300;

fastcgi_send_timeout 300;

fastcgi_read_timeout 300;

fastcgi_buffer_size 64k;

fastcgi_buffers 4 64k;

fastcgi_busy_buffers_size 128k;

fastcgi_temp_file_write_size 128k;

………………

}

openwrt 6300V2 USB无法显示的问题

lsusb and fdisk -l There's a method to turn USB power on which is probably not persistent. I hope this will help you. echo 0 > /sys/c...