관리 메뉴

Sysops Notepad

nginx response 못 받고 끊어질때 조치 방법 본문

업무/etc

nginx response 못 받고 끊어질때 조치 방법

sysops 2021. 11. 9. 15:35

nginx -> djang 로 통신시 아래 에러가 발생하고 끊어진다.

"upstream prematurely closed connection while reading response header from upstream"

 

nginx의 proxy timeout 값을 늘려줬다

    proxy_read_timeout 300;
    proxy_connect_timeout 300;
    proxy_send_timeout 300;

 

Comments