• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Enable Nginx fastcgi cache for all sites

Xavier12

Regular Pleskian
Hey guys,

What would be the best way to set up nginx fastcgi cache for all sites? We have the fastcgi cache settings in nginx.conf below:

fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:100m inactive=60m;
fastcgi_cache_key "$scheme$request_method$host$request_uri";
fastcgi_cache_use_stale error timeout invalid_header http_500;
fastcgi_ignore_headers Cache-Control Expires Set-Cookie;

We now need to enter the directives for the "server" section and do not know where is the default template to enter these settings so that fast cgi cache can be enabled for all sites.

Please advise, thanks.
 
Hi Ethanielc

I've tried it and the folder nginx-cache was automatically created, but not sure if microcache is actually working or active. I see no files within the folder when reloading or loading a site.
 
can we get some help from Parallels team? unfortunately i bought the license from plesk license reseller..usually they don't have the knowledge to support the product. sad :(
 
Back
Top