Thanks Valentin V. Bartenev !!
I was using it before the line
proxy_pass http://xyz.com
After placing the code after proxy_pass, I am able to see the values..
Regards,
Sunny
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,251039,251049#msg-251049
On Thursday 19 June 2014 03:00:44 tsunny wrote:
> Hello,
>
> I want to access the value of $upstream_addr. Below is the code,
>
> location / {
>
> echo "up = $upstream_addr";
>
> }
>
>
> The response is just "up = " . What could be the reason for this?
>
The $upstream_addr variable keep
Hello,
I want to access the value of $upstream_addr. Below is the code,
location / {
echo "up = $upstream_addr";
}
The response is just "up = " . What could be the reason for this?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,251039,251039#msg-251039
___