уже проставил chmod -R 777 от /home

9 ноября 2014 г., 12:42 пользователь Никита Кардашин <[email protected]>
написал:

> Банальное: а права на запись в директорию есть?
>
> 9 ноября 2014 г., 15:07 пользователь greenh <[email protected]> написал:
>
>> Proxy_store конечно, на не store_proxy
>>
>> 9 ноября 2014 г., 12:01 пользователь greenh <[email protected]> написал:
>>
>> Добрый день
>>> Подскажите плз, что я делаю не так
>>> имеется основной сервер хранения (storage) и фронтенд (img)
>>> на фронтенде настроено
>>>
>>> server {
>>> listen *:80;
>>> server_name img.site1.com  img-a6.site1.com ;
>>> root /home/site1/site1.com;
>>>
>>>     location ~* \.(jpg|jpeg|gif|png|ico|css|bmp|swf|js|html|txt)$ {
>>> root /home/site1/site1.com/;
>>>         try_files $uri $uri/ @fallback;
>>>         error_log  /home/site1/logs/site1.com-img-error.log warn ;
>>>     }
>>>     location @fallback
>>>     {
>>> proxy_pass http://storage.site1.com;
>>> proxy_store /home/site1/site1.com/$request_uri;
>>> root /home/site1/site1.com;
>>> proxy_store_access  user:rw  group:rw  all:rw;
>>>         error_log  /home/site1/logs/fallback-error.log warn ;
>>>         access_log  /home/site1/logs/fallback-access.log ;
>>>     }
>>>
>>> }
>>> но при этом в  /home/site1/site1.com  пусто и он  все равно за каждым
>>> запросом обращается на storage
>>> nginx version: nginx/1.6.2
>>>
>>
>>
>> _______________________________________________
>> nginx-ru mailing list
>> [email protected]
>> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>>
>
>
>
> --
> With best regards,
> differentlocal (www.differentlocal.ru | [email protected]),
> System administrator.
>
> _______________________________________________
> nginx-ru mailing list
> [email protected]
> http://mailman.nginx.org/mailman/listinfo/nginx-ru
>
_______________________________________________
nginx-ru mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Ответить