Need help with global variable

mike mike503 at
Wed Oct 29 05:38:40 MSK 2008

On Tue, Oct 28, 2008 at 7:11 PM, Rob Schultz <rschultz7 at> wrote:

> If you are doing this you actually reset all the http fastcgi_params that
> are set in any top level. Again if this is the case you need to either
> reinclude the fastcgi_params file in each of your site or change your
> fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
> in your fastcgi_params file and then in each of your server sections it will
> automatically have the script_filename set and you no longer have to do it
> for each server.

exactly. i set it once on a global level and i don't need to bother.
the only specific line is "fastcgi_pass" everything else including
fastcgi_index is inherited

More information about the nginx mailing list