Opened 11 years ago

Closed 11 years ago

Last modified 7 years ago

#427 closed defect (invalid)

$upstream_addr prints upstream name instead of real server IP

Reported by: Saravanan Elumalai Owned by:
Priority: minor Milestone:
Component: nginx-core Version: 1.3.x
Keywords: upstream name Cc:
uname -a: Linux User-120 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx version: nginx/1.5.6
built by gcc 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
TLS SNI support enabled
configure arguments: --prefix=/opt/nginx --user=nginx --group=nginx --with-http_ssl_module --with-http_spdy_module --add-module=/home/comp/user-120/Downloads/nginx_upstream_check_module-master --add-module=/home/comp/user-120/Downloads/ngx_devel_kit-0.2.18 --add-module=/home/comp/user-120/Downloads/lua-nginx-module-0.8.10 --with-http_sub_module --with-http_addition_module --add-module=/home/comp/user-120/Downloads/echo-nginx-module-0.48 --add-module=/home/comp/user-120/Downloads/headers-more-nginx-module-0.22 --add-module=/home/comp/user-120/Downloads/ngx_pagespeed-master --add-module=/home/comp/user-120/Downloads/ngx_http_extended_status_module-gh-pages/addons/

Description

$upstream_addr prints upstream name instead of real server IP.
Any work around for it ??

Change History (2)

comment:1 by Maxim Dounin, 11 years ago

Resolution: invalid
Status: newclosed

The $upstream_addr has an upstream name instead of a particular server IP address if it wasn't able to select particular server, e.g. if all servers are considered down.

comment:2 by Maxim Dounin, 7 years ago

See also #1328.

Note: See TracTickets for help on using tickets.