From a1e36777f4fcb34ce90d27f2a8bf1455053bfa3a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 19 Oct 2009 12:35:01 +0000 Subject: [PATCH] add SNI support in -V output --- src/core/nginx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/nginx.c b/src/core/nginx.c index 29eee6a99..226208773 100644 --- a/src/core/nginx.c +++ b/src/core/nginx.c @@ -238,6 +238,9 @@ main(int argc, char *const *argv) if (ngx_show_configure) { #ifdef NGX_COMPILER ngx_log_stderr(0, "built by " NGX_COMPILER); +#endif +#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME + ngx_log_stderr(0, "TLS SNI support enabled"); #endif ngx_log_stderr(0, "configure arguments:" NGX_CONFIGURE); }