Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ce30a1c

Browse files
roman-f5arut
authored andcommitted
OCSP: fixed invalid type for the 'ssl_ocsp' directive.
1 parent c93a0c4 commit ce30a1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/http/modules/ngx_http_ssl_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ static ngx_command_t ngx_http_ssl_commands[] = {
237237
NULL },
238238

239239
{ ngx_string("ssl_ocsp"),
240-
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_FLAG,
240+
NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1,
241241
ngx_conf_set_enum_slot,
242242
NGX_HTTP_SRV_CONF_OFFSET,
243243
offsetof(ngx_http_ssl_srv_conf_t, ocsp),

src/stream/ngx_stream_ssl_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ static ngx_command_t ngx_stream_ssl_commands[] = {
239239
NULL },
240240

241241
{ ngx_string("ssl_ocsp"),
242-
NGX_STREAM_MAIN_CONF|NGX_STREAM_SRV_CONF|NGX_CONF_FLAG,
242+
NGX_STREAM_MAIN_CONF|NGX_STREAM_SRV_CONF|NGX_CONF_TAKE1,
243243
ngx_conf_set_enum_slot,
244244
NGX_STREAM_SRV_CONF_OFFSET,
245245
offsetof(ngx_stream_ssl_srv_conf_t, ocsp),

0 commit comments

Comments
 (0)