comparison src/http/ngx_http_core_module.c @ 2224:109849282793

*) listen ssl *) no default ssl_cetificate and ssl_cetificate_key
author Igor Sysoev <igor@sysoev.ru>
date Mon, 01 Sep 2008 14:19:01 +0000
parents 5398f47082f0
children f62751dab60d
comparison
equal deleted inserted replaced
2223:005fc65f7ce7 2224:109849282793
3079 "on this platform, ignored"); 3079 "on this platform, ignored");
3080 #endif 3080 #endif
3081 continue; 3081 continue;
3082 } 3082 }
3083 3083
3084 if (ngx_strcmp(value[n].data, "ssl") == 0) {
3085 #if (NGX_HTTP_SSL)
3086 ls->conf.ssl = 1;
3087 continue;
3088 #else
3089 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
3090 "the \"ssl\" parameter requires "
3091 "ngx_http_ssl_module");
3092 return NGX_CONF_ERROR;
3093 #endif
3094 }
3095
3084 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, 3096 ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
3085 "the invalid \"%V\" parameter", &value[n]); 3097 "the invalid \"%V\" parameter", &value[n]);
3086 return NGX_CONF_ERROR; 3098 return NGX_CONF_ERROR;
3087 } 3099 }
3088 3100