unix socket upstreams always used the first unix upstream
diff --git a/src/core/ngx_inet.c b/src/core/ngx_inet.c
index 6871602..73209c7 100644
--- a/src/core/ngx_inet.c
+++ b/src/core/ngx_inet.c
@@ -287,6 +287,9 @@
         u->addrs[0].name.len = len + 5;
         u->addrs[0].name.data = u->url.data;
 
+        u->host.len = len;
+        u->host.data = p;
+
         u->host_header.len = sizeof("localhost") - 1;
         u->host_header.data = (u_char *) "localhost";