• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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