fastcgi_pass inheritance
Igor Sysoev
is at rambler-co.ru
Fri Jan 4 01:07:09 MSK 2008
On Thu, Jan 03, 2008 at 09:57:34PM +0000, Athan Dimoy wrote:
> Igor Sysoev <is at ...> writes:
> > > SCRIPT_FILENAME?
> >
> > Yes.
> >
> > > I think you mean fastcgi_pass.
> >
> > And fastcgi_pass.
> >
> > The fastcgi_pass, proxy_pass, memcached_pass, perl, flv, and empty_gif are
> > special directives those set location handler. If no location handler
> > was set, then default stack of handler is used: index, autoindex, dav,
> > gzip_static, and static.
> >
> > The most other proxy/fastcgi directives may be inherited from http level.
>
> Thanks for the detailed explanation, Igor.
> BTW, is there any performance hit/gain by declaring fastcgi_xxx directives at
> http level instead a location block, especially a regex one (e.g "~ \.php$")
If fastcgi_param's are inherited from http level, then they take less memory.
If they are described (included from file, this is the same) in each
location, then they takes more memory. And no other differences.
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list