Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nginx 0.8.52 + fastcgi + joomla + кеширов ание fastcgi запросов
- To: nginx-ru@xxxxxxxxx
- Subject: Nginx 0.8.52 + fastcgi + joomla + кеширов ание fastcgi запросов
- From: "drdim" <nginx-forum@xxxxxxxx>
- Date: Mon, 04 Oct 2010 08:02:04 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mickey.jlkhosting.com; s=x; h=Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To:Date; bh=VV8+sfF0XFaBPFgYYz5zbyJeAGHFnoofbxSRN7rHCy0=; b=S4sL53AJS52mAaPxvFnQbiyd1Ac4Bax8dBDKMbdKjrF2yhKIUM5rmimPLHo2BeH9dJSklm2BT4atzr4v+zc5CoZKXl3XHnviLR6wUJj7kANx6cZOo1FBZFM6H4WGSIUV;
После обновления nginx c 0.7 ветки на 0.8
столкнулся, что nginx перестал кешировать
запросы от бэкенда.
[code]
location ~* ^.+\.(php)$ {
root /usr/local/www/;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_pass_header 'Set-Cookie';
fastcgi_cache_bypass $cookie_nocache $arg_nocache$arg_comment;
fastcgi_cache_bypass $http_pragma $http_authorization;
fastcgi_ignore_headers 'Cache-Control' 'Expires';
fastcgi_cache_key
"$server_addr:$server_port$request_uri|$cookie_phpsessid";
fastcgi_cache www_cache;
fastcgi_temp_path /tmp/nginx/temp1 1 2;
fastcgi_cache_use_stale updating error timeout invalid_header http_500;
fastcgi_cache_bypass $cookie_nocache $arg_nocache$arg_comment;
fastcgi_cache_bypass $http_pragma $http_authorization;
fastcgi_cache_valid 1s;
expires 1s;
}
[/code]
Кто сможет помочь, или сталкивались ли
с этой проблемой?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?21,136867,136867#msg-136867
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|