Hello all,<br><br>I tried to use the following code to prevent hotlinking. But it blockes myself as well, anyone got any idea?<br><br>location ~* (\.jpg|\.png|\.css)$ {<br>    valid_referers blocked <a href="http://domain.com">domain.com</a> *.<a href="http://domain.com">domain.com</a>;<br>
if ($invalid_referer) {<br>return 404;<br>}<br>}<br><br>Thanks.<br><br>Max<br><br>