Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


   


   


   















      :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problemi s nginx reverse proxy & cache_bypass



On Thu, Sep 29, 2011 at 08:30:07PM -0400, seno wrote:
> Zdravstvuite, 
> 
> Sobral Nginx + purge. Vse zamechatelno rabotajet, cache, purge etc. 
> Trebujetsia nekeshirovat faili kotorije naxodiatsia v direktoriji
> /analytics/
> 
> v konfige :
> 
> location ~ /analytics {
> 
>                 set $do_not_cache 1;
>                 proxy_no_cache $do_not_cache;
>                 proxy_cache_bypass $do_not_cache;
>                 #proxy_cache cache;
>                 proxy_pass http://backend;
>             }
> 
> No na vizove http://xxx.com/analytics/file-name.html poluchaju 404.
> Reverse proxy obraschajetsia k main serveru, no pochemuto neberet faila
> kotorii naxoditsia v nuznoi direktorii. 
> 
> Gde iskat konci ?

 location   ,      
proxy_cache...:

  location ^~ /analytics/ {
       proxy_pass http://backend;
  }


-- 
 
http://sysoev.ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.