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: proxy store



  10 , 
,     :(

   :


#Image resize location
        
                location ~ ^/preview/([cira])/(.+) {
                        set $oper $1;
                        
                        set $remn $2;   
        
                        # Proxy
                        proxy_pass http://127.0.0.1:81/$oper/$remn;
                        proxy_intercept_errors on;
                        error_page 404 = /preview/404;
        
                        proxy_store on;
                        proxy_store_access user:rw  group:rw  all:r;
                        proxy_temp_path /temp;
                        proxy_set_header  If-Modified-Since  "";
                        
                        expires max;
                        
                        root /runtime/cache;
                }

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?21,223776,223815#msg-223815

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


 




Copyright © Lexa Software, 1996-2009.