Config nginx to remove DMCA link in p2p drive tool

If you are not lucky, sometimes you will receive the DMCA report email as shown below

We need to delete the link above, so that when the reporter accesses it will look like this

We need to configure nginx to delete the link on it, edit the /etc/nginx/nginx.conf file and find 2 locations as / public and / and then configure it as 2 images below, remember that long string of characters is id in link has report

Then save the nginx and reload nginx file with the following 2 commands

nginx -t
nginx -s reload

That’s done, access the report link again, if it returns 404 error, you have configured it right!

If need any support, please inbox me via contact!