Привет!
Есть проблема: 
При генерации миниатюр для Phoca Gallery, скрипт генерирует парочку картинок
и все - белый экран, нечего не происходит. Помогает только рестарт nginx
сервера.
Мои конфиги nginx:
location ~ \.php$ {
try_files $uri =404;
fastcgi_pass   unix:/tmp/wwwpool.sock;
fastcgi_cache  one;
fastcgi_cache_min_uses 3;
fastcgi_cache_valid 200 301 302 304 5m;
fastcgi_cache_key "$request_method|$host|$request_uri";
fastcgi_index  index.php;
include fastcgi_params;
fastcgi_param       SCRIPT_FILENAME  $document_root$fastcgi_script_name;
fastcgi_ignore_client_abort     off;
}
index index.html index.php;
location / {
try_files $uri $uri/ /index.php?q=$uri&$args;
}
location ~ /\.ht {
deny all;
}
location = /favicon.ico {
log_not_found off;
access_log off;
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$
{
                return 403;
                error_page 403 /403_error.html;
        }
        # caching of files
        location ~* \.(ico|pdf|flv)$ {
                expires 1y;
        }

        location ~* \.(js|css|png|jpg|jpeg|gif|swf|xml|txt)$ {
                expires 14d;
        }

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

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru

Ответить