If the search feature or another part of your Magento 2 store does not work and your server log contains the error upstream sent too big header while reading response header from upstream , try adding the following lines to your nginx directives:
|
1 2 3 4 5 |
fastcgi_buffers 16 16k; fastcgi_buffer_size 32k; proxy_buffer_size 128k; proxy_buffers 4 256k; proxy_busy_buffers_size 256k; |
Restart nginx afterwards. This may resolve the problem.
Fixing Nginx upstream sent too big header error
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.