diff --git a/doc/configuration.txt b/doc/configuration.txt index 96af75434..461ba261f 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -1290,7 +1290,7 @@ The following keywords are supported in the "global" section : - nbthread - node - numa-cpu-mapping - - ocsp_update.http_proxy + - ocsp-update.httpproxy - pidfile - pp2-never-send-local - presetenv @@ -2169,7 +2169,7 @@ numa-cpu-mapping already specified, for example via the 'cpu-map' directive or the taskset utility. -ocsp_update.http_proxy
[:port] +ocsp-update.httpproxy
[:port] Allow to use an HTTP proxy for the OCSP updates. This only works with HTTP, HTTPS is not supported. This option will allow the OCSP updater to send absolute URI in the request to the proxy. diff --git a/src/ssl_ocsp.c b/src/ssl_ocsp.c index 648771bee..fa1a6e7bc 100644 --- a/src/ssl_ocsp.c +++ b/src/ssl_ocsp.c @@ -2025,7 +2025,7 @@ static struct cfg_kw_list cfg_kws = {ILH, { { CFG_GLOBAL, "tune.ssl.ocsp-update.maxdelay", ssl_parse_global_ocsp_maxdelay }, { CFG_GLOBAL, "tune.ssl.ocsp-update.mindelay", ssl_parse_global_ocsp_mindelay }, { CFG_GLOBAL, "tune.ssl.ocsp-update.mode", ssl_parse_global_ocsp_update_mode }, - { CFG_GLOBAL, "ocsp_update.http_proxy", ocsp_update_parse_global_http_proxy }, + { CFG_GLOBAL, "ocsp-update.httpproxy", ocsp_update_parse_global_http_proxy }, #endif { 0, NULL, NULL }, }};