From 48eb2cbbf15f35bdbaa708036d1a64772943e029 Mon Sep 17 00:00:00 2001
From: sarna
Date: Tue, 10 Oct 2023 16:45:53 -0600
Subject: [PATCH] Fix directive names for auth_http_*
https://nginx.org/en/docs/mail/ngx_mail_auth_http_module.html
---
analyze.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/analyze.go b/analyze.go
index a0f25712..9d09553e 100644
--- a/analyze.go
+++ b/analyze.go
@@ -265,13 +265,13 @@ var directives = map[string][]uint{
"auth_http": {
ngxMailMainConf | ngxMailSrvConf | ngxConfTake1,
},
- "auth_Httpheader": {
+ "auth_http_header": {
ngxMailMainConf | ngxMailSrvConf | ngxConfTake2,
},
- "auth_Httppass_client_cert": {
+ "auth_http_pass_client_cert": {
ngxMailMainConf | ngxMailSrvConf | ngxConfFlag,
},
- "auth_Httptimeout": {
+ "auth_http_timeout": {
ngxMailMainConf | ngxMailSrvConf | ngxConfTake1,
},
"auth_request": {