commit | bfec9887cea00361e670e10da4862bc036437509 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue Sep 28 06:50:52 2010 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue Sep 28 06:50:52 2010 +0000 |
tree | 90c7a5083d438cc1085d35c1862de0e2a2d3faa7 | |
parent | a397c7faaa3e31b029a6b724dae62a2df4bce841 [diff] |
nginx uses SSL mode for a listen socket with any option set, the bug has been introduced in r3765
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 58fc7af..4ecd50c 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c
@@ -1274,7 +1274,7 @@ 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) {