程老の
活到老,学到老

Nginx超时

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

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

       proxy_connect_timeout 600;

      proxy_send_timeout 600;

      proxy_read_timeout 600;

      send_timeout 600;

   重启!!!

 

posted on 2019-05-28 18:10  程老の  阅读(395)  评论(0)    收藏  举报