mirror of
https://github.com/nginx/nginx.git
synced 2024-12-18 21:23:36 -06:00
nginx uses SSL mode for a listen socket with any option set,
the bug has been introduced in r3765
This commit is contained in:
parent
a397c7faaa
commit
bfec9887ce
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user