fastcgi_pass inheritance

Manlio Perillo manlio_perillo at libero.it
Thu Jan 3 21:25:07 MSK 2008


Igor Sysoev ha scritto:
> [...]
>

Hi Igor, happy new year!

> Usually all fastcgi_param's are common and the only SCRIPT_FILENAME is
> required to set per server. So it could configured:
> 
> http {
>     fastcgi_param SCRIPT_FILENAME  $document_root$fastcgi_script_name;;
>     fastcgi_param QUERY_STRING     $query_string;
>     ...
> 
>     server {
> 
>         location \.php$ {
>             root   /path/to/script;
>             fastcgi_pass   ...;
> 


The problems is that someone finds not "obvious" the inheritance 
behaviour of directives stored as arrays, like fastcgi_param.




Manlio Perillo





More information about the nginx mailing list