• Resolved Heronymo

    (@heronymo)


    Hi there.

    I followed the instructions that the plugin provided by placing the following code in the nginx config:

    location /downloads/dlm_uploads {
    deny all;
    return 403;
    }

    Please note that I have changed the default WP uploads directory to be in the “downloads” folder in the root of my server.

    After adding the code, I’m still able to directly access a PDF file that was uploaded with DLM.

    Any idea what could be wrong?

    • This topic was modified 7 years, 7 months ago by Heronymo.
  • The topic ‘Blocking direct file access on nginx server’ is closed to new replies.