@@ -39,9 +39,8 @@ http://wiki.nginx.org/3rdPartyModules
39
39
ModSecurity for nginx extends your nginx configuration directives.
40
40
It adds four new directives and they are:
41
41
42
- #### modsecurity
43
- ----------------
44
-
42
+ modsecurity
43
+ -----------
45
44
** syntax:** * modsecurity on | off*
46
45
47
46
** context:** * http, server, location*
@@ -52,9 +51,8 @@ Turns on or off ModSecurity functionality.
52
51
Note that this configuration directive is no longer related to the SecRule state.
53
52
Instead, it now serves solely as an nginx flag to enable or disable the module.
54
53
55
- #### modsecurity_rules_file
56
- ---------------------------
57
-
54
+ modsecurity_rules_file
55
+ ----------------------
58
56
** syntax:** * modsecurity_rules_file < ; path to rules file> ; *
59
57
60
58
** context:** * http, server, location*
@@ -73,9 +71,8 @@ server {
73
71
}
74
72
```
75
73
76
- #### modsecurity_rules_remote
77
- -----------------------------
78
-
74
+ modsecurity_rules_remote
75
+ ------------------------
79
76
** syntax:** * modsecurity_rules_remote < ; key> ; < ; URL to rules> ; *
80
77
81
78
** context:** * http, server, location*
@@ -95,9 +92,8 @@ server {
95
92
}
96
93
```
97
94
98
- #### modsecurity_rules
99
- ----------------------
100
-
95
+ modsecurity_rules
96
+ -----------------
101
97
** syntax:** * modsecurity_rules < ; modsecurity rule> ; *
102
98
103
99
** context:** * http, server, location*
0 commit comments