• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue hotlinking protection not working

kapil soni

New Pleskian
Hello Dear Team,

I am using

Plesk Onyx v17.5.3_build1705170317.16 os_CentOS 7 / CentOS Linux 7.3.1611

I googled and tried almost all the methods (htaccess and NGINX) to protect my files from hotlinking but No matter what I tried to setup.. it's not working.

I tried this also : Resolved - can't find hotlink protection option plesk 12.5.30

but unable to succeed.

can anyone please help me how to enable hotlink protection with plest latest.

Thanks for your kind support
Best Regards
Kapil
 
Hi kapil soni,

if found an external blog article, which might help you to understand and setup "Hotlink protection" on servers using nginx.

=> nginx - Image hotlink protection using rewrite - nikhil's blog ( external link, pls. inform me over a private message, if the link goes dead, so I may provide another working link! )

Hello @UFHH01,

Thank you for your help,

I applied the said settings to my.. Domain >> Apache & nginx Settings >> Additional nginx directives

But still it's not protecting my images. seems it's not working or am I doing something wrong? where the setting I applied is correct?

Kindly guide.

Thanks
Best Regards
Kapil
 
Back
Top