Nginx超时

Nginx超时

  超时原因:nginx长时间无响应,如后端大量循环查询,响应慢,超出nginx响应时间

   解决方式:修改nginx.conf文件

       proxy_connect_timeout 600;

      proxy_send_timeout 600;

      proxy_read_timeout 600;

      send_timeout 600;

   重启!!!

 

猜你喜欢

转载自www.cnblogs.com/chenglao0119/p/10939315.html
今日推荐