Re: fastcgi_cache_path empty

2014-01-16 Thread Lorenzo Raffio
Thanks Steve for the reply!! Ok, so tell me if I understood correcty. You just have in your "vhost" server block this: fastcgi_cache_path /var/cache/nginx levels=1:2 keys_zone=microcache:10m max_size=1000m inactive=60m; and then you have a file /etc/nginx/microcache with # Setup var defaul

Re: fastcgi_cache_path empty

2014-01-16 Thread Steve Holdoway
I think ( it's hard to read ) that you're not telling the site which http cache to use ( fastcgi_cache microcache; ). On my systems ( I'm looking at an Amazon one so RH based ), /var/cache/nginx is already in use. I set up /var/cache/nginx_fastcgi instead, which is not empty. (1GB is way too big

Re: fastcgi_cache_path empty

2014-01-16 Thread Lorenzo Raffio
No one? :) 2014/1/13 Lorenzo Raffio > I wanted to try fastcgi_cache on my nginx 1.5.8 as shown here > http://seravo.fi/2013/optimizing-web-server-performance-with-nginx-and-php > > In nginx conf, http section, I added: > > fastcgi_cache_path /var/cache/nginx levels=1:2 keys_zone=microcache:10m

fastcgi_cache_path empty

2014-01-13 Thread Lorenzo Raffio
I wanted to try fastcgi_cache on my nginx 1.5.8 as shown here http://seravo.fi/2013/optimizing-web-server-performance-with-nginx-and-php In nginx conf, http section, I added: fastcgi_cache_path /var/cache/nginx levels=1:2 keys_zone=microcache:10m max_size=1000m inactive=60m; In server section: