Latest update - 7320
This commit is contained in:
@@ -4627,6 +4627,13 @@ ngx_http_grpc_set_ssl(ngx_conf_t *cf, ngx_http_grpc_loc_conf_t *glcf)
|
||||
}
|
||||
}
|
||||
|
||||
if (ngx_ssl_client_session_cache(cf, glcf->upstream.ssl,
|
||||
glcf->upstream.ssl_session_reuse)
|
||||
!= NGX_OK)
|
||||
{
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
||||
#ifdef TLSEXT_TYPE_application_layer_protocol_negotiation
|
||||
|
||||
if (SSL_CTX_set_alpn_protos(glcf->upstream.ssl->ctx,
|
||||
|
||||
@@ -4308,6 +4308,13 @@ ngx_http_proxy_set_ssl(ngx_conf_t *cf, ngx_http_proxy_loc_conf_t *plcf)
|
||||
}
|
||||
}
|
||||
|
||||
if (ngx_ssl_client_session_cache(cf, plcf->upstream.ssl,
|
||||
plcf->upstream.ssl_session_reuse)
|
||||
!= NGX_OK)
|
||||
{
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
||||
return NGX_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -2391,6 +2391,13 @@ ngx_http_uwsgi_set_ssl(ngx_conf_t *cf, ngx_http_uwsgi_loc_conf_t *uwcf)
|
||||
}
|
||||
}
|
||||
|
||||
if (ngx_ssl_client_session_cache(cf, uwcf->upstream.ssl,
|
||||
uwcf->upstream.ssl_session_reuse)
|
||||
!= NGX_OK)
|
||||
{
|
||||
return NGX_ERROR;
|
||||
}
|
||||
|
||||
return NGX_OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user