22 messages in ru.sysoev.nginxRe: fastcgi_pass inheritance
FromSent OnAttachments
Ben MaurerDec 29, 2007 5:39 pm 
Evan MillerDec 29, 2007 6:13 pm 
Ben MaurerDec 29, 2007 8:09 pm 
Igor SysoevDec 29, 2007 10:12 pm 
Athan DimoyJan 2, 2008 4:14 am 
Manlio PerilloJan 2, 2008 4:23 am 
Dave CheneyJan 2, 2008 4:51 am 
Athan DimoyJan 2, 2008 5:30 am 
Athan DimoyJan 2, 2008 5:36 am 
Manlio PerilloJan 2, 2008 6:39 am 
Jean-PhilippeJan 2, 2008 8:30 am 
Manlio PerilloJan 2, 2008 8:51 am 
Igor SysoevJan 3, 2008 8:21 am 
Manlio PerilloJan 3, 2008 10:24 am 
Igor SysoevJan 3, 2008 10:42 am 
Athan DimoyJan 3, 2008 1:27 pm 
Igor SysoevJan 3, 2008 1:39 pm 
Athan DimoyJan 3, 2008 1:57 pm 
Manlio PerilloJan 3, 2008 1:58 pm 
Athan DimoyJan 3, 2008 2:06 pm 
Igor SysoevJan 3, 2008 2:06 pm 
Athan DimoyJan 3, 2008 2:08 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: fastcgi_pass inheritanceActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Dec 29, 2007 10:12:08 pm
List:ru.sysoev.nginx

On Sat, Dec 29, 2007 at 08:39:56PM -0500, Ben Maurer wrote:

I've been trying to get a setup like this to work:

location /fastcgi { fastcgi_pass ...; } location /fastcgi/specialscript { error_page 500 ...; }

However, the existance of a location directive seems to make fastcgi_pass stop working -- it only works once I duplicate that directive (as well as any fastcgi related directive).

Subject: Re: fastcgi_pass inheritance

nginx does not inherit configuration in run time from location to location.

Is there a better way to set settings on a specific part of the upstream fastcgi tree without duplicating stuff in the config file?

You may describe all fastcgi stuff (fastcgi_param/etc) except fastcgi_pass even on http level, and it will be inherited to all servers and locations until will be overriden in them.