• Resolved Mirai

    (@miraiserver)


    Server support added the code in Nginx settings but files inside /dlm_uploads/ are still available.

    == Added Nginx CODE ==
    location /wp-content/uploads/dlm_uploads {
    deny all;
    return 403;
    }
    ======================

    Maybe I’m missing something in plugin settings?

    Thank you for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @miraiserver ,

    That should have worked. Could you please contact your host, maybe they have other settings, and request to block access to the dlm_uploads directory, like the above script? If it were Apache we could have blocked it ourselves, but with Nginx it needs to be done by the host.

    Warmly,
    Razvan

    Thread Starter Mirai

    (@miraiserver)

    Hi Razvan

    Thank you for the reply.

    Will contact the host provider and see.

    Kind regards.

    Mirai

    Thread Starter Mirai

    (@miraiserver)

    Hi Razvan.

    Below is the message from hosting provider. Looks that I’m missing something in settingds.

    ——–

    Hi,

    We have no other settings that would require changing – We’ve actually added this rule for other of our members as well, and it has worked every time, perhaps there’s something wrong with how the plugin is set up on your end.

    Let us know if the plugin support provides a different set of rules, and we can get those added!

    Regards,

    ———-

    It should work fine, as there isn’t a setting in DLM that would interfere with that rule from nginx. Is your WordPress installation custom? For example, some users have the wp-content folder moved to a different location instead of the default one. Is that the case?

    Warmly,

    Mihaela

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘nginx code not working’ is closed to new replies.