@@ -2291,4 +2291,43 @@ var directives = map[string][]uint{
2291
2291
"zone_sync_timeout" : {
2292
2292
ngxStreamMainConf | ngxStreamSrvConf | ngxConfTake1 ,
2293
2293
},
2294
+
2295
+ // nginx app protect specific and global directives
2296
+ // [https://docs.nginx.com/nginx-app-protect/configuration-guide/configuration/#directives]
2297
+ "app_protect_compressed_requests_action" : {
2298
+ ngxHTTPMainConf | ngxConfTake1 ,
2299
+ },
2300
+ "app_protect_cookie_seed" : {
2301
+ ngxHTTPMainConf | ngxConfTake1 ,
2302
+ },
2303
+ "app_protect_cpu_thresholds" : {
2304
+ ngxHTTPMainConf | ngxConfTake2 ,
2305
+ },
2306
+ "app_protect_enable" : {
2307
+ ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfFlag ,
2308
+ },
2309
+ "app_protect_failure_mode_action" : {
2310
+ ngxHTTPMainConf | ngxConfTake1 ,
2311
+ },
2312
+ "app_protect_physical_memory_util_thresholds" : {
2313
+ ngxHTTPMainConf | ngxConfTake2 ,
2314
+ },
2315
+ "app_protect_policy_file" : {
2316
+ ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfTake1 ,
2317
+ },
2318
+ "app_protect_reconnect_period_seconds" : {
2319
+ ngxHTTPMainConf | ngxConfTake1 ,
2320
+ },
2321
+ "app_protect_request_buffer_overflow_action" : {
2322
+ ngxHTTPMainConf | ngxConfTake1 ,
2323
+ },
2324
+ "app_protect_security_log_enable" : {
2325
+ ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfFlag ,
2326
+ },
2327
+ "app_protect_security_log" : {
2328
+ ngxHTTPMainConf | ngxHTTPSrvConf | ngxHTTPLocConf | ngxConfTake2 ,
2329
+ },
2330
+ "app_protect_user_defined_signatures" : {
2331
+ ngxHTTPMainConf | ngxConfTake1 ,
2332
+ },
2294
2333
}
0 commit comments