리눅스
[Nginx] 1 an upstream response is buffered to a temporary file 프록시 버퍼 문제
배추잠자리
2022. 5. 23. 21:21
반응형
16289#16289: *1 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/1/00/0000000001 while reading upstream, client: 111.11.11.110, server: test.co.kr, request: “POST /signup/auth/ HTTP/1.1”, upstream: “http://unix:/tmp/gunicorn.sock:/signup/auth/“, host: “test.co.kr”, referrer: “https://test.co.kr/signup/”
요청데이터를 읽는 과정에서 프록시 버퍼 문제가 생길 수 있다.
응답이 구성된 메모리 버퍼에 맞지 않기 때문에 디스크에 버퍼링되었음을 나타낸다.
■ 해결방법
1. cd /etc/nginx/ 내부에 nginx.conf 를 열어보자.
2. vi nginx.conf
3. http 설정 내부에 proxy_buffers 16 16k; 를 작성해주면 된다.
proxy_buffers 버퍼 수 버퍼크기 이므로, 필요한 만큼 설정하면 된다.
반응형