Skip to content

Commit 9deec04

Browse files
committed
fix: allow 'include' directive in 'if' and 'limit_except' blocks
1 parent 73c76f9 commit 9deec04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analyze.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ const (
5555
)
5656

5757
// helpful directive location alias describing "any" context
58-
// doesn't include ngxHTTPSifConf, ngxHTTPLifConf, or ngxHTTPLmtConf.
5958
const ngxAnyConf = ngxMainConf | ngxEventConf | ngxMailMainConf | ngxMailSrvConf |
6059
ngxStreamMainConf | ngxStreamSrvConf | ngxStreamUpsConf |
61-
ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxHTTPUpsConf
60+
ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxHTTPUpsConf |
61+
ngxHTTPSifConf | ngxHTTPLifConf | ngxHTTPLmtConf
6262

6363
// map for getting bitmasks from certain context tuples
6464
//

0 commit comments

Comments
 (0)