Welcome! Log In Create A New Profile

Advanced

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

October 12, 2010 05:44AM
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.
Subject Author Posted

FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora January 10, 2010 05:40PM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora June 07, 2010 11:24PM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

piggy June 16, 2010 09:28AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

piggy June 16, 2010 09:38AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora June 16, 2010 11:34AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

piggy June 16, 2010 09:21PM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora June 16, 2010 09:42PM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

piggy June 16, 2010 09:59PM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora August 11, 2010 06:04PM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora May 03, 2011 12:18PM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

digginchina October 12, 2010 05:44AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora October 12, 2010 09:02AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

digginchina October 12, 2010 09:29AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora October 12, 2010 10:14AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

digginchina October 12, 2010 10:46AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

digginchina October 12, 2010 12:13PM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora October 12, 2010 12:10PM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora October 12, 2010 09:28PM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

digginchina October 13, 2010 06:02AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

digginchina October 13, 2010 06:50AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

digginchina October 13, 2010 07:06AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Splitice October 13, 2010 11:56PM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora October 14, 2010 08:14AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

ahu October 06, 2011 10:11AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

ahu October 07, 2011 01:28AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

splitice October 06, 2011 10:40AM

Re: FRiCKLE Labs & yo.se pres. ngx_cache_purge

Piotr Sikora October 07, 2011 12:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 109
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready