@@ -307,7 +307,7 @@ ngx_http_modsecurity_create_ctx(ngx_http_request_t *r, ModSecurity *modsec,
307
307
308
308
309
309
static char *
310
- ngx_conf_set_rules (ngx_conf_t * cf , ngx_command_t * cmd , void * conf )
310
+ ngx_http_modsecurity_set_rules (ngx_conf_t * cf , ngx_command_t * cmd , void * conf )
311
311
{
312
312
ngx_http_modsecurity_conf_t * mcf = conf ;
313
313
@@ -347,7 +347,8 @@ ngx_conf_set_rules(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
347
347
348
348
349
349
static char *
350
- ngx_conf_set_rules_file (ngx_conf_t * cf , ngx_command_t * cmd , void * conf )
350
+ ngx_http_modsecurity_set_rules_file (ngx_conf_t * cf , ngx_command_t * cmd ,
351
+ void * conf )
351
352
{
352
353
ngx_http_modsecurity_conf_t * mcf = conf ;
353
354
@@ -387,7 +388,8 @@ ngx_conf_set_rules_file(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
387
388
388
389
389
390
static char *
390
- ngx_conf_set_rules_remote (ngx_conf_t * cf , ngx_command_t * cmd , void * conf )
391
+ ngx_http_modsecurity_set_rules_remote (ngx_conf_t * cf , ngx_command_t * cmd ,
392
+ void * conf )
391
393
{
392
394
ngx_http_modsecurity_conf_t * mcf = conf ;
393
395
@@ -428,7 +430,8 @@ ngx_conf_set_rules_remote(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
428
430
}
429
431
430
432
static char *
431
- ngx_conf_set_transaction_id (ngx_conf_t * cf , ngx_command_t * cmd , void * conf ) {
433
+ ngx_http_modsecurity_set_transaction_id (ngx_conf_t * cf , ngx_command_t * cmd ,
434
+ void * conf ) {
432
435
ngx_str_t * value ;
433
436
ngx_http_complex_value_t cv ;
434
437
ngx_http_compile_complex_value_t ccv ;
@@ -470,31 +473,31 @@ static ngx_command_t ngx_http_modsecurity_commands[] = {
470
473
{
471
474
ngx_string ("modsecurity_rules" ),
472
475
NGX_HTTP_LOC_CONF |NGX_HTTP_SRV_CONF |NGX_HTTP_MAIN_CONF |NGX_CONF_TAKE1 ,
473
- ngx_conf_set_rules ,
476
+ ngx_http_modsecurity_set_rules ,
474
477
NGX_HTTP_LOC_CONF_OFFSET ,
475
478
0 ,
476
479
NULL
477
480
},
478
481
{
479
482
ngx_string ("modsecurity_rules_file" ),
480
483
NGX_HTTP_LOC_CONF |NGX_HTTP_SRV_CONF |NGX_HTTP_MAIN_CONF |NGX_CONF_TAKE1 ,
481
- ngx_conf_set_rules_file ,
484
+ ngx_http_modsecurity_set_rules_file ,
482
485
NGX_HTTP_LOC_CONF_OFFSET ,
483
486
0 ,
484
487
NULL
485
488
},
486
489
{
487
490
ngx_string ("modsecurity_rules_remote" ),
488
491
NGX_HTTP_LOC_CONF |NGX_HTTP_SRV_CONF |NGX_HTTP_MAIN_CONF |NGX_CONF_TAKE2 ,
489
- ngx_conf_set_rules_remote ,
492
+ ngx_http_modsecurity_set_rules_remote ,
490
493
NGX_HTTP_LOC_CONF_OFFSET ,
491
494
0 ,
492
495
NULL
493
496
},
494
497
{
495
498
ngx_string ("modsecurity_transaction_id" ),
496
499
NGX_HTTP_LOC_CONF |NGX_HTTP_SRV_CONF |NGX_HTTP_MAIN_CONF |NGX_CONF_1MORE ,
497
- ngx_conf_set_transaction_id ,
500
+ ngx_http_modsecurity_set_transaction_id ,
498
501
NGX_HTTP_LOC_CONF_OFFSET ,
499
502
0 ,
500
503
NULL
0 commit comments