Welcome! Log In Create A New Profile

Advanced

fastcgi_cache + zend framework

Qaz
February 19, 2011 09:03AM
Добрый день всем специалистам!

Есть сайт на zend framework, работает в связке nginx+php-fpm. Реврайты написаны следующим образом:


server {

if (!-e $request_filename) {
rewrite ^.*$ /index.php last;
}


location ~ \.php$ {
root /usr/local/www/site;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_buffer_size 64k;
fastcgi_buffers 4 128k;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /usr/local/www/site/index.php;
fastcgi_param APPLICATION_ENV production;
include fastcgi_params;
fastcgi_param SCRIPT_NAME /index.php;
}

Есть ли возможность к этой конструкции подключить fastcgi_cache? Я пробовал разные варианты, кеш не создавался.

Заранее спасибо.
Subject Author Posted

fastcgi_cache + zend framework

Qaz February 19, 2011 09:03AM

Re: fastcgi_cache + zend framework

Vladimir Getmanshchuk February 19, 2011 10:06PM

Re: fastcgi_cache + zend framework

Илья Шипицин February 20, 2011 01:10AM

Re: fastcgi_cache + zend framework

Qaz February 20, 2011 03:58AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
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