Welcome! Log In Create A New Profile

Advanced

Re: Using variables on nginx.

Valentin V. Bartenev
April 11, 2014 03:18PM
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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Using variables on nginx.

Raul Hugo April 11, 2014 03:00PM

Re: Using variables on nginx.

Valentin V. Bartenev April 11, 2014 03:18PM

Re: Using variables on nginx.

Raul Hugo April 11, 2014 03:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready