Skip to content

Commit 03728f7

Browse files
committed
NLB-3337: allow 'internal_redirect' in parser
1 parent 6ff9cab commit 03728f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

analyze.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,9 @@ var directives = map[string][]uint{
785785
"internal": {
786786
ngxHTTPLocConf | ngxConfNoArgs,
787787
},
788+
"internal_redirect": {
789+
ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfTake1,
790+
},
788791
"ip_hash": {
789792
ngxHTTPUpsConf | ngxConfNoArgs,
790793
},

0 commit comments

Comments
 (0)