Mercurial > hg > nginx
diff src/http/modules/ngx_http_proxy_module.c @ 1339:50b6cd5bc2e2
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 23 Jul 2007 12:32:34 +0000 |
parents | 5383f5232364 |
children | 7443fbe0b013 |
line wrap: on
line diff
--- 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";