nginx-0.0.3-2004-05-10-23:53:35 import
diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.c b/src/http/modules/proxy/ngx_http_proxy_handler.c
index 027dc3c..8aa3397 100644
--- a/src/http/modules/proxy/ngx_http_proxy_handler.c
+++ b/src/http/modules/proxy/ngx_http_proxy_handler.c
@@ -1202,6 +1202,11 @@
             if (u->port_text.len > 0) {
                 u->port = ngx_atoi(u->port_text.data, u->port_text.len);
                 if (u->port > 0) {
+
+                    if (u->port == 80) {
+                        u->default_port = 1;
+                    }
+
                     u->port = htons((u_short) u->port);
                     return NULL;
                 }