You use the deny directive<br><a href="http://wiki.nginx.org/NginxHttpAccessModule#deny">http://wiki.nginx.org/NginxHttpAccessModule#deny</a><br><br>location / {<br>deny all;<br>}<br><br><br>Ray<br><br><div class="gmail_quote">

On Fri, Sep 25, 2009 at 9:48 AM, filebackup <span dir="ltr">&lt;<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi.<br>
I want to create an nginx rule, but I don&#39;t known how to start off. Please help me. Thanks.<br>
<br>
the .htaccess file is in the /download/ directory, and the rule is<br>
<br>
Order deny,allow<br>
Deny from all<br>
<br>
<br>
How to convert it to nginx rule?<br>
<br>
Regards.<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,9118,9118#msg-9118" target="_blank">http://forum.nginx.org/read.php?2,9118,9118#msg-9118</a><br>
<br>
<br>
</blockquote></div><br>