proxy_cache_purge for nginx/0.8.34

skynet nginx-forum at nginx.us
Mon Mar 15 01:58:06 MSK 2010


Here's the config:


 location ~ ^/purge(/.*)$ {
                       allow 127.0.0.1;
                       allow 192.168.0.0/16;
                       allow 72.12.74.93;
                       deny all;
                       proxy_cache_purge	staticfilecache   "$scheme://$host$1";
        }

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,61318,63815#msg-63815




More information about the nginx mailing list