atom feed27 messages in ru.sysoev.nginxRe: FRiCKLE Labs & yo.se pres. ngx_ca...
FromSent OnAttachments
Piotr SikoraJan 10, 2010 2:35 pm 
Piotr SikoraJun 7, 2010 8:20 pm 
piggyJun 16, 2010 6:28 am 
piggyJun 16, 2010 6:38 am 
Piotr SikoraJun 16, 2010 8:26 am 
piggyJun 16, 2010 6:21 pm 
Piotr SikoraJun 16, 2010 6:37 pm 
piggyJun 16, 2010 6:58 pm 
Piotr SikoraAug 11, 2010 2:58 pm 
digginchinaOct 12, 2010 2:43 am 
Piotr SikoraOct 12, 2010 5:55 am 
digginchinaOct 12, 2010 6:29 am 
Piotr SikoraOct 12, 2010 7:06 am 
digginchinaOct 12, 2010 7:45 am 
Piotr SikoraOct 12, 2010 9:04 am 
digginchinaOct 12, 2010 9:12 am 
Piotr SikoraOct 12, 2010 6:24 pm 
digginchinaOct 13, 2010 3:02 am 
digginchinaOct 13, 2010 3:49 am 
digginchinaOct 13, 2010 4:05 am 
SpliticeOct 13, 2010 8:50 pm 
Piotr SikoraOct 14, 2010 5:09 am 
Piotr SikoraMay 3, 2011 9:16 am 
ahuOct 6, 2011 7:11 am 
SplitIceOct 6, 2011 7:37 am 
Piotr SikoraOct 6, 2011 9:20 pm 
ahuOct 6, 2011 10:28 pm 
Subject:Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge
From:digginchina (ngin@nginx.us)
Date:Oct 12, 2010 2:43:56 am
List:ru.sysoev.nginx

here is my conf: fastcgi_cache_path /usr/local/nginx/fastcgi_cache levels=1:2 keys_zone=DIGG:10m inactive=2m;

location / { fastcgi_cache DIGG; fastcgi_cache_key $host$uri$is_args$args; fastcgi_cache_valid 200 302 1h; fastcgi_cache_valid 301 1d; fastcgi_cache_valid any 1m; fastcgi_cache_min_uses 2; fastcgi_cache_use_stale error timeout invalid_header http_500; fastcgi_pass unix:/tmp/php-cgi.sock; #fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fcgi.conf; } location ~ /purge(/.*) { allow 127.0.0.1; deny all; fastcgi_cache_purge DIGG $host$1$is_args$args; } nginx -t don't returns any error. but when i visit http://mydomain/purge/xxx.jpg, it returns me a 404 page. i checked the error log and found this:

2010/10/11 05:04:25 [emerg] 8915#0: unknown directive "fastcgi_cache_purge" in /usr/local/nginx/conf/nginx.conf:27

is there anybody help me? thanks a lot.

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