This article applies only to Websavers customers with a VPS with Hands-On Support management. When logged in to Plesk as an admin, you will find under the apache & nginx settings in Plesk the following (default) includes statement:
include "/etc/nginx/wsvhost.conf.d/wordpress_static_cache.conf";
This file ensures top performance and security for any WordPress website and is excellent to use with all WordPress sites. If you're not using WordPress on the domain you can comment it out by adding a # at the start.
If you see the following lines with or without the leading #, please remove them as they are outdated and not recommended:
#include "/etc/nginx/wsvhost.conf.d/browser_cache.conf";
#include "/etc/nginx/wsvhost.conf.d/plesk_phpfpm_direct.conf";
NOTE: if the plesk_phpfpm_direct.conf file did not have the # at the start, please ensure that under PHP Settings for the domain it is set to use PHP-FPM with Apache and not nginx.