From bfec9887cea00361e670e10da4862bc036437509 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 28 Sep 2010 06:50:52 +0000 Subject: [PATCH] nginx uses SSL mode for a listen socket with any option set, the bug has been introduced in r3765 --- src/http/ngx_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 58fc7afe5..4ecd50ce8 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1274,7 +1274,7 @@ ngx_http_add_addresses(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, default_server = addr[i].opt.default_server; #if (NGX_HTTP_SSL) - ssl = lsopt->ssl || addr[i].opt.set; + ssl = lsopt->ssl || addr[i].opt.ssl; #endif if (lsopt->set) {