Skip to content

Instantly share code, notes, and snippets.

@PureLandFlying
Created July 25, 2019 09:39
Show Gist options
  • Save PureLandFlying/7c33d964437142e17f8befc752cb2161 to your computer and use it in GitHub Desktop.
Save PureLandFlying/7c33d964437142e17f8befc752cb2161 to your computer and use it in GitHub Desktop.

find the below error message in nginx error log: upstream sent too big header while reading response header from upstream

add the three rows to http and server section

fastcgi_buffer_size 256k;
fastcgi_buffers 32 256k;
fastcgi_busy_buffers_size 256k;

add the three rows to php proxy:

fastcgi_buffer_size 256k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment