[Hosting] Need to add custom rules to nginx.conf

My site hosted with us, and I got the following notification from one of my plugins:

Because your server is running on nginx, our .htaccess file can't protect your downloads.
Please add the following rules to your nginx config to disable direct file access:
location /wp-content/uploads/dlm_uploads {
deny all;
return 403;
}

Could you help me with this?