etc
[NGINX] an upstream response is buffered to a temporary file 에러 해결방법
적샷굿샷
2017. 1. 17. 15:04
반응형
이번에 아파치 웹서버를 nginx로 변경했는데 위와같은 에러로그가 많이 쌓였어요.
해결 방법은
#vi /etc/nginx/conf.d/default.conf
location ~ \.php$ {
root /usr/share/nginx/html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_max_temp_file_size 0;
fastcgi_buffer_size 4K;
fastcgi_buffers 64 4k;
include fastcgi_params;
}
굵은 글씨 부분 추가 하시면 됩니다.
반응형