fastcgi_pass inheritance
Igor Sysoev
is at rambler-co.ru
Thu Jan 3 21:42:40 MSK 2008
On Thu, Jan 03, 2008 at 07:25:07PM +0100, Manlio Perillo wrote:
> Igor Sysoev ha scritto:
> >[...]
> >
>
> Hi Igor, happy new year!
>
> >Usually all fastcgi_param's are common and the only SCRIPT_FILENAME is
> >required to set per server. So it could configured:
> >
> >http {
> > fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;;
> > fastcgi_param QUERY_STRING $query_string;
> > ...
> >
> > server {
> >
> > location \.php$ {
> > root /path/to/script;
> > fastcgi_pass ...;
> >
>
>
> The problems is that someone finds not "obvious" the inheritance
> behaviour of directives stored as arrays, like fastcgi_param.
The fastcgi_param internal implementation as array should not
affect to user expectation of inheritance.
If fastcgi_param's would be partailly inherited, then there should be
directive to cancel this inheritance.
Right now any fastcgi_param directive cancels inheritance.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list