fastcgi_pass inheritance

Ben Maurer bmaurer at andrew.cmu.edu
Sun Dec 30 04:39:56 MSK 2007


Hi,

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).

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

- Ben






More information about the nginx mailing list