How to setup Hotlink Protection?
To enable hotlink protection for the desired file types, add the following lines in the .htaccess file for your website:
RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://domain.com$ [NC] RewriteRule .*.(jpg|jpeg|gif|png|bmp|webp)$ - [F,NC]
Replace domain.com with your actual domain name.
Note that the Hotlink protection will not work with NGINX Direct Delivery enabled. You can disable it from your Site Tools > Speed > Caching.