WP Rocket Error 500 Fix on Hestia CP

Hello,

I was getting a 500 Internal Server Error when clearing the cache in WooCommerce (using WP Rocket).
I modified the NGINX configuration and it solved the issue for now.

Here are the changes I made:

proxy_buffers 256 4k; to 4 256k
proxy_buffer_size 32k; to 128k
proxy_busy_buffers_size 32k; to 256k

After applying these, the error disappeared.

My question is:
Are these values safe and optimal to apply globally on other server work as well, especially when using WooCommerce ?

Thank you!

Hi @vipvip

I would use something more flexible:

proxy_buffers               16 64k;
proxy_buffer_size           128k;
proxy_busy_buffers_size     512k;

And maybe you should modify gzip_buffers too:

gzip_buffers 32 16k;
2 Likes