|  
 |  
 
 
 |  
 | 
|  
 | АРХИВ :: nginx-ru |  
| Nginx-ru mailing list archive (nginx-ru@sysoev.ru) [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
 proxy_store
 Добрый вечер!
 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@xxxxxxxxxxx
 
 
 |  
 
 |  
 |