proxy_store

Борис Долгов boris at dolgov.name
Wed Nov 12 21:41:38 MSK 2008


Добрый вечер!
        location / {
            root   /var/www/img;
            index  index.html index.htm;
            error_page 404 = @fallback;
        }
        location @fallback
        {
              root /var/www/img;
              proxy_pass http://oldsite;
              proxy_store on;
              proxy_store_access   user:rw  group:rw  all:r;
              proxy_temp_path      /var/www/img/tmp;
        }

В логе:
2008/11/12 21:29:31 [error] 26043#0: *1038 open() "/var/www/img/test.txt"
failed (2: No such file or directory), client: 79.134.х.х, server:
92.241.х.х, request: "GET /test.txt HTTP/1.1", host: "92.241.х.х"

test.txt со старого сайта показывается, но не сохраняется. Права у nginx'a
писать в temp и в img есть.
В чем может быть проблема?

-- 
С уважением, Борис Долгов.
icq 77556665
e-mail boris at dolgov.name
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20081112/b234dc89/attachment.html>


More information about the nginx-ru mailing list