Welcome! Log In Create A New Profile

Advanced

$upstream_addr containing the same ip twice

February 18, 2015 10:06PM
Hello,
I have just 1 backend server being reverse-proxied through nginx. The access log lists this one request for which the $upstream_addr has the same ip:port twice. Is this a bug ?

::ffff:10.255.255.248:51947 - - [18/Feb/2015:19:52:43 -0600] "GET / HTTP/1.1" 302 454 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:35.0) Gecko/20100101 Firefox/35.0" "a.b.c.d:e, a.b.c.d:e "

This is how the the log_format is defined
log_format upstream '$remote_addr:$remote_port - $remote_user [$time_local] '
'"$request" $status $bytes_sent '
'"$http_referer" "$http_user_agent" "$upstream_addr"';

Thanks
-Kunal
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

$upstream_addr containing the same ip twice

kunalvjti February 18, 2015 10:06PM

Re: $upstream_addr containing the same ip twice

Maxim Dounin February 19, 2015 08:06AM

Re: $upstream_addr containing the same ip twice

Kunal Pariani February 19, 2015 11:50AM

Re: $upstream_addr containing the same ip twice

Maxim Dounin February 19, 2015 12:24PM

Re: $upstream_addr containing the same ip twice

kunalvjti February 19, 2015 01:14PM

Re: $upstream_addr containing the same ip twice

Maxim Dounin February 19, 2015 01:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
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