Enable FCGI cache in Nginx

To enable fcgi cache in Nginx, add the following code outside the server block.

Inside your location for .php files, above the proxy_pass, add

Add below code above .php location block

This is used to skip FCGI cache for logged-in users.


Need help with Linux Server or WordPress? We can help!

Leave a Reply

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