From 9deec0454f84f631bc52a4883e4a6962a25b2a6c Mon Sep 17 00:00:00 2001 From: Daniel Areste Hernandez Date: Mon, 9 Oct 2023 13:03:08 +0200 Subject: [PATCH] fix: allow 'include' directive in 'if' and 'limit_except' blocks --- analyze.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/analyze.go b/analyze.go index d7c5edec..2a1d3dcb 100644 --- a/analyze.go +++ b/analyze.go @@ -55,10 +55,10 @@ const ( ) // helpful directive location alias describing "any" context -// doesn't include ngxHTTPSifConf, ngxHTTPLifConf, or ngxHTTPLmtConf. const ngxAnyConf = ngxMainConf | ngxEventConf | ngxMailMainConf | ngxMailSrvConf | ngxStreamMainConf | ngxStreamSrvConf | ngxStreamUpsConf | - ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxHTTPUpsConf + ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxHTTPUpsConf | + ngxHTTPSifConf | ngxHTTPLifConf | ngxHTTPLmtConf // map for getting bitmasks from certain context tuples //