Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Joomla (+Phoca Gallery) + nginx + php-fpm: Проблема при генерации картинок
- To: nginx-ru@xxxxxxxxx
- Subject: Joomla (+Phoca Gallery) + nginx + php-fpm: Проблема при генерации картинок
- From: "Meison" <nginx-forum@xxxxxxxx>
- Date: Fri, 16 Aug 2013 04:10:32 -0400
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=helium.jlkhosting.com; s=x; h=Date:Sender:From:Message-ID:Content-Transfer-Encoding:Content-Type:Subject:To; bh=CQI5cY+O24kM4SUbffFwM2rYNGD0lxW1FYmRT/EHAaI=; b=GKTG0AKwppsd+Z7S0JwWi50sFC8v+U0LutaTPNf/b1sikYmFQzfcaZD67UYBNWMZYswk67DtSdOned1E3lsIrCxQM4fdDEWfF2nQK+AC6r9pkjhyV6mE8dWCP9DEXOHs5rNvdX7ymGGDsY8wTrekbdfX8Jhj3mSraUiImQ+UcDw=;
Привет!
Есть проблема:
При генерации миниатюр для 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@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru
|