Á ÎÅ ÐÒÏÝÅ ÌÉ ÐÒÏÓÔÏ ÓÉÌÁÍÉ nginxÁ?<br><br> location ^~ /download/ {<br> valid_referers none server_names *.server.com/;<br> if ($invalid_referer) {
<br> return 403; }<br> root /srv/www/htdocs/web1/html;<br> autoindex on;<br> auth_basic "Priwet !!!";<br> auth_basic_user_file /usr/local/nginx/conf/passwd;
<br>
access_log /usr/local/nginx/logs/access_web1_download.log download;<br><div style="direction: ltr;"> }</div><br><br>