Error dibawah ini muncul karena ukuran fastcgi_buffers terlalu kecil untuk meng-handle file yang sedang di proses oleh nginx/PHP

2017/07/12 15:50:18 [warn] 24179#24179: *66 an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp/1/00/0000000001 while reading upstream, client: 114.125.38.153, server: cdn.jaranguda.com, request: “GET /8508-remote/ HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host: “cdn.jaranguda.com”
2017/07/12 15:50:18 [info] 7095#7095: *1 client exceeded http2_max_field_size limit while processing HTTP/2 connection, client: 192.168.2.10, server: 0.0.0.0:443

Solusi

Edit file nginx.conf tambahkan dibawah http { block

fastcgi_buffer_size 128k;
fastcgi_buffers 8 128k;
fastcgi_busy_buffers_size 128k;
fastcgi_temp_file_write_size 128k;

di block server { tambahkan

http2_max_field_size 64k;
http2_max_header_size 64k;

restart nginx

systemctl restart nginx
# atau
service nginx restart

Error

Solusi :

Last Updated on 9 January 2018 by tommy

Leave a comment

Your email address will not be published. Required fields are marked *