Plesk

How to flush Nginx cache for a website in Plesk?

Question

How to flush Nginx cache for a website in Plesk?

Answer

Since Plesk 18.0.45 version it is possible to clear cache from Plesk GUI:
  1. Log in to Plesk
  2. Go to Domains > example.com > Hosting & DNS > Apache & Nginx settings and click "Clear cache" button:

Click on a section to expand

If update to Plesk 18.0.45 is not possible for some reason, flush Nginx cache manually:

  1. Connect to the server via SSH.

  2. Remove cache files:

    # rm -rf /var/cache/nginx/example.com_*/*

Exit mobile version