Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Отображение картинок.
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Отображение картинок.
- From: Roxis <roxis@xxxxxxx>
- Date: Fri, 30 Mar 2007 12:57:51 +0200
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:subject:date:references:in-reply-to:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=dtqgKe7tiNT7U//iHY3sppQJZkcnEmpQzLuFrIYmCBnEQ/dgQ/RbSxPngOIzKP+hDNbProZsPRQbYwtTGTphp7mJfelYbEl+v1yoxA4C+IZtAoS3y0UkuIB0oyKmFwGidO51ufXG8DhbkBLSEybpa9eFGVZ6xBuIoseKbePb4r8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:references:in-reply-to:x-mailer:mime-version:content-type:content-transfer-encoding:content-disposition:message-id:sender; b=ufjz3TiziGZBW41eHJizjiLCa1wKde8j3ItPYoR1X7zplw++eKP5EUnW1aarWlnP0c7wDWAJGdAaQv/CgrlXokbzNVuO8Vdph1TTh3dnwXnbksi2JFes40p8hrlgenb98zI7dIUAQ0lSTiHs2dOQtxhNiZebzp9ow6H+RRxjjyw=
- In-reply-to: <460CEBE2.2070903@xxxxxxxxxx>
- References: <460CE4C0.20608@xxxxxxxxxx> <200703301231.27456.roxis@xxxxxxx> <460CEBE2.2070903@xxxxxxxxxx>
On Friday 30 March 2007, Anatoly wrote:
> Неподскажете как с этим бороться?
php парзеру отдавать только php файлы, а не все подряд
location ~ \.php$ {
if ( !-f $document_root$fastcgi_script_name) {
return 404;
}
fastcgi_pass unix:/tmp/php-fcgi.sock;
}
|