ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Кеширова? ?ие FastCGI запро сов



http {
    include       mime.types;
    default_type  application/octet-stream;

    proxy_cache_path  /usr/local/etc/nginx/cache/zone1  levels=1:2   
keys_zone=zone1:250m;
    proxy_cache_path  /usr/local/etc/nginx/cache/zone2  levels=1:2   
keys_zone=zone2:250m;
    proxy_temp_path  /usr/local/etc/nginx/temp;
    ....



 location ~ \.php
        {

                fastcgi_cache_key  $scheme$proxy_host$uri$is_args$args;
                fastcgi_cache zone2;
                fastcgi_cache_valid   200 302  24h;
                fastcgi_cache_min_uses 10;

                fastcgi_pass  127.0.0.1:7000;
                fastcgi_index index.php;
                include fastcgi_params;
                fastcgi_param SCRIPT_FILENAME  
/usr/local/www/applications/catalog.***.su/public/index.php;
                fastcgi_param PATH_INFO $fastcgi_script_name;

        }



выдает:

# nginx -s reload
: the shared memory zone "zone2" is already declared for a different use in 
/usr/local/etc/nginx/virtual/catalog.***.ru.conf:16


В чем причина?

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,11465,11727#msg-11727




 




Copyright © Lexa Software, 1996-2009.