Using variables on nginx.

Raul Hugo sherlockhugo at gmail.com
Fri Apr 11 19:19:39 UTC 2014


Ok thx, I test it and really doesnt work. :)


2014-04-11 14:16 GMT-05:00 Valentin V. Bartenev <vbart at nginx.com>:

> On Friday 11 April 2014 13:58:44 Raul Hugo wrote:
> > I can Use variables to define IP:Port on upstreams directive?
> >
> > For example:
> >
> > upstream cluster-servers  {
> >            $server01;
> >            $server02;
> > }
> >
>
> No, you can't.
>
> Please also note:
> http://nginx.org/en/docs/faq/variables_in_config.html
>
>   wbr, Valentin V. Bartenev
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



-- 
Un abrazo!


*Raúl Hugo <http://twitter.com/raulhugo>*


*Miembro Asociadohttp://apesol.org.pe <http://apesol.org.pe/>SysAdmin Cel.
#961-710-096  Linux Registered User #482081 - http://counter.li.org/
<http://counter.li.org/>P Antes de imprimir este e-mail piense bien si es
necesario hacerlo*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140411/f4a97594/attachment-0001.html>


More information about the nginx mailing list