Setting SSI variables from configuration

Attila Nagy bra at fsn.hu
Mon Sep 3 11:03:41 UTC 2012


On 09/03/12 08:33, Attila Nagy wrote:
> I have an SSI page with the following in it:
> <!--#if expr="$CRAN_HOST" -->
>   <!--#echo  encoding="none" var="CRAN_HOST"--><br>
> <!--#endif -->
>
> I would like to set CRAN_HOST to a given value, but I couldn't find 
> any ways of doing this with nginx.
> Any ideas?
Just for the archive:
set $CRAN_HOST  'text';
works.
(10x Leki :)



More information about the nginx mailing list