Perusio D6 config and ngx_cache_purge and CloudFlare question
Posted by superfedya on September 24, 2014 at 12:21am
Hi,
I installed Nginx with ngx_cache_purge module. I want to use it with this module: https://www.drupal.org/project/purge
http://labs.frickle.com/nginx_ngx_cache_purge/
Somebody know where I need put:
proxy_cache_path /tmp/cache keys_zone=tmpcache:10m;
location / {
proxy_pass http://127.0.0.1:8000;
proxy_cache tmpcache;
proxy_cache_key $uri$is_args$args;
proxy_cache_purge PURGE from 127.0.0.1;
}I found proxy_cache_path in fastcgi_microcache_zone.conf - /var/cache/nginx/microcache.
And about CloudFlare.
Read more