ngx_cache_purge not found
    Indo Php 
    iptablez at yahoo.com
       
    Fri Oct  4 11:04:49 UTC 2013
    
    
  
Hi there,
I tried to use ngx_cache_purge with the configuration below
        location ~ /purge(/.*) {   
                allow   127.0.0.1;
                deny    all;
                proxy_cache_purge  one backend$request_uri;
        }
        location ~* ^.+\.(css|js)$ {                                                                                                  
                proxy_pass              http://backend;                                                                               
                proxy_cache             two;                                                                                          
                proxy_cache_key         backend$request_uri;                                                                          
                proxy_cache_valid       200  1h;                                                                                      
                proxy_cache_valid       404  1m;                
Then when I tried to open by browser with url http://myurl/purge/style.css, it's saying Page not Found (404)
Is there any something I've missed?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20131004/7f2408bb/attachment.html>
    
    
More information about the nginx
mailing list