# HG changeset patch # User Igor Sysoev # Date 1185193954 0 # Node ID 50b6cd5bc2e2a52b932067778ca17fff0af9ffd0 # Parent b568424b5fd6d1117b17ad4f18bb1b6fa9b1f0ec style fix diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c @@ -2237,6 +2237,7 @@ ngx_http_proxy_pass(ngx_conf_t *cf, ngx_ if (port == 80) { plcf->port.len = sizeof("80") - 1; plcf->port.data = (u_char *) "80"; + } else { plcf->port.len = sizeof("443") - 1; plcf->port.data = (u_char *) "443";