fastcgi_pass inheritance

Athan Dimoy foxx at
Wed Jan 2 16:31:13 MSK 2008

Manlio Perillo <manlio_perillo at ...> writes:

> 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 
> > such a location block on http level, common for all virtual servers?
> > 
> Yes, you can.

Hmm, are you sure that location can be used inside http? I've tried but Nginx 
replied with an error saying: "location" directive is not allowed here...


More information about the nginx mailing list