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:

    /private/*
    /wp-content/uploads/_pda/*
  3. Under “Additional nginx directives”, input these rules:
    if (!-e $request_filename) {
     set $test P;
     rewrite wp-content/uploads(/_pda/.*\.\w+)$ "/index.php?pda_v3_pf=$1" last;
     rewrite private/([a-zA-Z0-9-_]+)$ "/index.php?pda_v3_pf=$1&pdav3_rexypo=ymerexy" last;
    }
Lasted updated on July 10, 2019