How to combine text and variables in fastcgi_param?

naxa anaxagramma at gmail.com
Tue Feb 25 00:00:56 UTC 2014


On 2014.02.23. 14:51, Maxim Dounin wrote:
> Try this:
>
> fastcgi_param SCRIPT_FILENAME  "$document_root    $fastcgi_script_name";
>
> or this:
>
> fastcgi_param SCRIPT_FILENAME  '$document_root    $fastcgi_script_name';
>
> If a parameter includes special characters, the whole parameter 
> should be enclosed in single or double quotes.
>

Just a quick note: thank you very much, it worked!



More information about the nginx mailing list