|
|
|
|
АРХИВ :: 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_simple_params
- To: nginx-ru@xxxxxxxxx
- Subject: Re: fastcgi_simple_params
- From: Kruglov Eugenie <ekruglov@xxxxxxxxx>
- Date: Tue, 1 Dec 2009 12:41:20 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=IVNwZu5gRP+QDq7c9NaRpVZ9/xcbnS+nOVphPph+npU=; b=bU8Z8Kv6KbZyrhHwGzfN0EK6Lnz8PNYbAUsSv8mVeC1jBxIxmiu3tkDjEi/AGwRzTA gy/MNSlxI4uOci4bvDPkt1iB47OYmCvpP8kBRWNqOikyYRCkfK+97L3mSkEzN9ZDzrty U40Jp4M2OeVOrdJcgKNfuvJa6d1kgL8nzTP1c=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=rAX22BGoJJw1eLfEdbd/s9dBxSp5MAj+rCobrsZELorh+8t6hLOErjfStynk/u39Ya tmdymiCLJBkRf8b2qLHhsc30YLx8sY0jqy2uN84QV2FiQud//7WpHcOZwMFGMZsIg7VV eGGYUyGdsYf1O9qU6WQRYc08OBDv4fkm/b0sg=
- In-reply-to: <20091201085024.GH24971@xxxxxxxxx>
- References: <20091201085024.GH24971@xxxxxxxxx>
А можно еще сделать /etc/init.d/nginx в дистрибутиве?
2009/12/1 Igor Sysoev <igor@xxxxxxxxx>
Глядя на мытарства адептов PHP, я решил сделать дефолтный
conf/fastcgi_simple_params, в который помимо прочих параметров входит
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
Насколько я понимаю, это должно упростить типичные конфигурации вида:
root /data/www;
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
include fastcgi_simple_params;
}
--
Игорь Сысоев
http://sysoev.ru
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
-- Faithfully yours, Eugenie ICQ #701217 GTalk ekruglov@xxxxxxxxx
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru
|
|
|