From ce30a1cb0ddce88027e760dc91145af6c6e8eef1 Mon Sep 17 00:00:00 2001 From: Roman Semenov Date: Wed, 22 Oct 2025 11:24:27 -0700 Subject: [PATCH] OCSP: fixed invalid type for the 'ssl_ocsp' directive. --- src/http/modules/ngx_http_ssl_module.c | 2 +- src/stream/ngx_stream_ssl_module.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c index 6d9c2efad..dc82472d3 100644 --- a/src/http/modules/ngx_http_ssl_module.c +++ b/src/http/modules/ngx_http_ssl_module.c @@ -237,7 +237,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), diff --git a/src/stream/ngx_stream_ssl_module.c b/src/stream/ngx_stream_ssl_module.c index 349096877..b4a722a68 100644 --- a/src/stream/ngx_stream_ssl_module.c +++ b/src/stream/ngx_stream_ssl_module.c @@ -239,7 +239,7 @@ static ngx_command_t ngx_stream_ssl_commands[] = { NULL }, { 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_STREAM_SRV_CONF_OFFSET, offsetof(ngx_stream_ssl_srv_conf_t, ocsp),