Plesk Hosting Support

Our Prevent Direct Access Gold is working well with Plesk hosting. However, when enabling NGINX as your cache server, you must configure your NGINX settings so that it continues working perfectly with our plugin.

Under your website & domain, go to NGINX settings:

  1. Disable “Serve static files directly by nginx” option
    Plesk Hosting: Static Files
  2. Under “Disable caching for locations”, input these:
  3. Under “Additional nginx directives”, input these rules on top:
    rewrite wp-content/uploads(/_pda/.*\.\w+)$ "/index.php?pda_v3_pf=$1" last;
    if (!-e $request_filename) {
     set $test P;
     rewrite private/([a-zA-Z0-9-_]+)$ "/index.php?pda_v3_pf=$1&pdav3_rexypo=ymerexy" last;
Lasted updated on August 19, 2020