--- src/http/ngx_http.c.orig	2010-09-27 04:48:12.000000000 -0700
+++ src/http/ngx_http.c	2010-09-27 18:46:32.820822332 -0700
@@ -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.set;
 #endif
 
         if (lsopt->set) {
