Nginx 0.8.52 + fastcgi + joomla + кеширование fastcgi запросов

drdim nginx-forum на nginx.us
Пн Окт 4 16:02:04 MSD 2010


После обновления 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