Skip to content

Commit 4d0cc0d

Browse files
committed
fix: update *ssl_conf_command to take two args
1 parent 8f4f9d2 commit 4d0cc0d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

analyze.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ var directives = map[string][]uint{
605605
ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfTake1,
606606
},
607607
"grpc_ssl_conf_command": {
608-
ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfTake1,
608+
ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfTake2,
609609
},
610610
"grpc_ssl_crl": {
611611
ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfTake1,
@@ -1217,8 +1217,8 @@ var directives = map[string][]uint{
12171217
ngxStreamMainConf | ngxStreamSrvConf | ngxConfTake1,
12181218
},
12191219
"proxy_ssl_conf_command": {
1220-
ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfTake1,
1221-
ngxStreamMainConf | ngxStreamSrvConf | ngxConfTake1,
1220+
ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfTake2,
1221+
ngxStreamMainConf | ngxStreamSrvConf | ngxConfTake2,
12221222
},
12231223
"proxy_ssl_crl": {
12241224
ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfTake1,
@@ -1594,9 +1594,9 @@ var directives = map[string][]uint{
15941594
ngxStreamMainConf | ngxStreamSrvConf | ngxConfTake1,
15951595
},
15961596
"ssl_conf_command": {
1597-
ngxHTTPMainConf | ngxHTTPSrvConf | ngxConfTake1,
1598-
ngxMailMainConf | ngxMailSrvConf | ngxConfTake1,
1599-
ngxStreamMainConf | ngxStreamSrvConf | ngxConfTake1,
1597+
ngxHTTPMainConf | ngxHTTPSrvConf | ngxConfTake2,
1598+
ngxMailMainConf | ngxMailSrvConf | ngxConfTake2,
1599+
ngxStreamMainConf | ngxStreamSrvConf | ngxConfTake2,
16001600
},
16011601
"ssl_crl": {
16021602
ngxHTTPMainConf | ngxHTTPSrvConf | ngxConfTake1,

0 commit comments

Comments
 (0)