mirror of https://github.com/nginx/nginx
OCSP: fixed invalid type for the 'ssl_ocsp' directive.
This commit is contained in:
parent
c93a0c48af
commit
ce30a1cb0d
|
|
@ -237,7 +237,7 @@ static ngx_command_t ngx_http_ssl_commands[] = {
|
||||||
NULL },
|
NULL },
|
||||||
|
|
||||||
{ ngx_string("ssl_ocsp"),
|
{ ngx_string("ssl_ocsp"),
|
||||||
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_FLAG,
|
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1,
|
||||||
ngx_conf_set_enum_slot,
|
ngx_conf_set_enum_slot,
|
||||||
NGX_HTTP_SRV_CONF_OFFSET,
|
NGX_HTTP_SRV_CONF_OFFSET,
|
||||||
offsetof(ngx_http_ssl_srv_conf_t, ocsp),
|
offsetof(ngx_http_ssl_srv_conf_t, ocsp),
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,7 @@ static ngx_command_t ngx_stream_ssl_commands[] = {
|
||||||
NULL },
|
NULL },
|
||||||
|
|
||||||
{ ngx_string("ssl_ocsp"),
|
{ ngx_string("ssl_ocsp"),
|
||||||
NGX_STREAM_MAIN_CONF|NGX_STREAM_SRV_CONF|NGX_CONF_FLAG,
|
NGX_STREAM_MAIN_CONF|NGX_STREAM_SRV_CONF|NGX_CONF_TAKE1,
|
||||||
ngx_conf_set_enum_slot,
|
ngx_conf_set_enum_slot,
|
||||||
NGX_STREAM_SRV_CONF_OFFSET,
|
NGX_STREAM_SRV_CONF_OFFSET,
|
||||||
offsetof(ngx_stream_ssl_srv_conf_t, ocsp),
|
offsetof(ngx_stream_ssl_srv_conf_t, ocsp),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue