Enable FCGI cache in Nginx

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

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

Example