fastcgi_pass inheritance

Manlio Perillo manlio_perillo at
Wed Jan 2 15:23:40 MSK 2008

Athan Dimoy ha scritto:
> Igor Sysoev <is at ...> writes:
>> 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.
> How this can be done? I mean how to fill all fastcgi stuff on http level. 
> Currently I fill all of them inside a location ~ \.php$ {...} block. Can I use 
> such a location block on http level, common for all virtual servers?

Yes, you can.

Manlio Perillo

More information about the nginx mailing list