Webinoly is just the perfect tool for NGINX experts. Give it a try!
+1 vote
by Rookie

I implemented hotlink protection code inside Nginx server configuration but it doesn't work?

Here is the code:

location ~ .(gif|png|jpeg|jpg|svg)$ {

     valid_referers none blocked ~.google. ~.bing. ~.yahoo. mydomain.com *.mydomain.com;

     if ($invalid_referer) {

        return   403;



1 Answer

0 votes
by Rookie
Yes, me too.

Please help us to enable ANTI HOTLINKING.

Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.