Hi, <br>
<br>
My server using nginx/0.8.49, and I try to using NginxHttpRefererModule. <br>
This is my configuration :
<pre>
    location / {
        root   /var/www/iKocok/;
        index  index.html index.htm index.php;
        valid_referers server_names blocked none *.antituhan.com;
        if($invalid_referer) {
            return 404;
        }
    }
</pre>

But this error occur :
<pre>
Starting nginx: [emerg]: unknown directive "if($invalid_referer)" in /etc/nginx/sites-enabled/antituhan.com:11
</pre>
<br>
How to fix this problem ?<br>
Thanks in advance :)
<br><hr align="left" width="300">
View this message in context: <a href="http://nginx.2469901.n2.nabble.com/Problem-with-NginxHttpRefererModule-tp5449838p5449838.html">Problem with NginxHttpRefererModule</a><br>
Sent from the <a href="http://nginx.2469901.n2.nabble.com/">nginx mailing list archive</a> at Nabble.com.<br>