<div dir="ltr">Добрый день<div>Подскажите плз, что я делаю не так</div><div>имеется основной сервер хранения (storage) и фронтенд (img)</div><div>на фронтенде настроено</div><div><div><br></div><div>server {</div><div>listen *:80;</div><div>server_name <a href="http://img.site1.com">img.site1.com</a>  <a href="http://img-a6.site1.com">img-a6.site1.com</a> ;</div><div>root /home/site1/<a href="http://site1.com">site1.com</a>;</div><div><br></div><div>    location ~* \.(jpg|jpeg|gif|png|ico|css|bmp|swf|js|html|txt)$ {</div><div><span class="" style="white-space:pre">               </span>root /home/site1/<a href="http://site1.com/">site1.com/</a>;</div><div>        try_files $uri $uri/ @fallback;</div><div>        error_log  /home/site1/logs/site1.com-img-error.log warn ;</div><div>    }</div><div>    location @fallback</div><div>    {</div><div><span class="" style="white-space:pre">              </span>proxy_pass <a href="http://storage.site1.com">http://storage.site1.com</a>;</div><div><span class="" style="white-space:pre">          </span>proxy_store /home/site1/<a href="http://site1.com/$request_uri">site1.com/$request_uri</a>;</div><div><span class="" style="white-space:pre">          </span>root /home/site1/<a href="http://site1.com">site1.com</a>;</div><div><span class="" style="white-space:pre">           </span>proxy_store_access  user:rw  group:rw  all:rw;</div><div>        error_log  /home/site1/logs/fallback-error.log warn ;</div><div>        access_log  /home/site1/logs/fallback-access.log ;</div><div>    }</div><div><br></div><div>}</div></div><div>но при этом в  /home/site1/<a href="http://site1.com">site1.com</a>  пусто и он  все равно за каждым запросом обращается на storage</div><div>nginx version: nginx/1.6.2<br></div></div>