aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_proxy_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stream/ngx_stream_proxy_module.c')
-rw-r--r--src/stream/ngx_stream_proxy_module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/ngx_stream_proxy_module.c b/src/stream/ngx_stream_proxy_module.c
index 9d43109df..850a596aa 100644
--- a/src/stream/ngx_stream_proxy_module.c
+++ b/src/stream/ngx_stream_proxy_module.c
@@ -538,7 +538,7 @@ found:
return;
}
-#if (NGX_HTTP_SSL)
+#if (NGX_STREAM_SSL)
u->ssl_name = uscf->host;
#endif
@@ -1157,7 +1157,7 @@ ngx_stream_proxy_resolve_handler(ngx_resolver_ctx_t *ctx)
u = s->upstream;
ur = u->resolved;
- ngx_log_debug0(NGX_LOG_DEBUG_HTTP, s->connection->log, 0,
+ ngx_log_debug0(NGX_LOG_DEBUG_STREAM, s->connection->log, 0,
"stream upstream resolve");
if (ctx->state) {