• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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