Добрый вечер, nginx-ru!<br>Имеется конфиг:<br>server<br>{<br>    ...<br>    root /var/www/gallery;<br>    location /<br>    {<br>        proxy_pass <a href="http://localhost:80">http://localhost:80</a>;<br>    }<br>    location /image.php<br>
    {<br>        if ( -e $document_root/thumb/$arg_cat/$arg_image )<br>        {<br>            rewrite ^ /thumb/$arg_cat/$arg_image last;<br>        }<br>        proxy_pass <a href="http://localhost:80">http://localhost:80</a>;<br>
        proxy_store $document_root/thumbs/$arg_cat/$arg_image;<br>    }<br>    location /thumb<br>    {<br>    }<br>}<br>Цель - кешировать thumb&#39;ы в обход скрипта галлереи, который упорно делает их на лету и зазенден. nginx 0.7.43.<br>
Но $arg_ оказываются пустые при запросе. <br>В еррор-логе:<br>2009/03/22 20:05:20 [crit] 1431#0: *23 rename() &quot;/var/lib/nginx/tmp/proxy/6/00/0000000006&quot; to &quot;/var/www/gallery/thumbs//&quot; failed (20: Not a directory) while reading upstream, request: &quot;GET /image.php?cat=11&amp;image=10.jpg HTTP/1.1&quot;, upstream: &quot;<a href="http://localhost:80/image.php?cat=11&amp;image=10.jpg">http://localhost:80/image.php?cat=11&amp;image=10.jpg</a>&quot;<br>
Что я делаю не так? Заранее спасибо.<br>-- <br>С уважением, Борис Долгов.<br>icq 77556665<br>e-mail <a href="mailto:boris@dolgov.name">boris@dolgov.name</a><br>