summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules
diff options
context:
space:
mode:
authorRoman Semenov <r.semenov@f5.com>2025-10-22 11:24:27 -0700
committerSergey Kandaurov <s.kandaurov@f5.com>2025-12-23 22:40:33 +0400
commit366b5c65ad4b520525865f19bf74e4ee69ca15df (patch)
tree09c75ba17fe22763aec11d844bf6744445b0e73c /src/http/modules
parentd3cc7ec07600276883a9576221e534946ee272bd (diff)
downloadnginx-366b5c65ad4b520525865f19bf74e4ee69ca15df.tar.gz
nginx-366b5c65ad4b520525865f19bf74e4ee69ca15df.tar.bz2
OCSP: fixed invalid type for the 'ssl_ocsp' directive.
Diffstat (limited to 'src/http/modules')
-rw-r--r--src/http/modules/ngx_http_ssl_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
index dbfe5c08b..320d1ee04 100644
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -230,7 +230,7 @@ static ngx_command_t ngx_http_ssl_commands[] = {
NULL },
{ 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_HTTP_SRV_CONF_OFFSET,
offsetof(ngx_http_ssl_srv_conf_t, ocsp),