<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
</div>Не нужно реврайтов на ровном месте.<br>
<br>
location /test {<br>
    alias  /path/to/unavailable.gif;<br>
}<br>
<br></blockquote><div><br></div><div>Игорь, нельзя ли подробней на этом месте?</div><div>Судя по документации - <a href="http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#alias">http://sysoev.ru/nginx/docs/http/ngx_http_core_module.html#alias</a></div>
<div><br></div><div>Если запросить /test/123 то будет попытка отдать файл /path/to/unavailable.gif123, что не совсем одно и то же.</div><meta http-equiv="content-type" content="text/html; charset=utf-8"></div>