Set a variable in configuration file
Marcos Neves
marcos.neves at gmail.com
Wed Jul 9 07:10:20 MSD 2008
set $path /var/www/mysites/;
On Tue, Jul 8, 2008 at 8:25 PM, Thomas <iamkenzo at gmail.com> wrote:
> A really stupid question: how do I set a variable in Nginx' config file?
>
> I'd like to set: path=/var/www/mysites/
>
> And then reuse this variable, for instance:
>
> root $path/cool_site;
>
>
> But I can't figure out how to do it.
>
>
--
Marcos Neves
+55 44 3263-8132
+55 44 9918-8488
More information about the nginx
mailing list