Skip to content

Commit 40a453a

Browse files
committed
README: improve formatting
1 parent da35e09 commit 40a453a

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ http://wiki.nginx.org/3rdPartyModules
3939
ModSecurity for nginx extends your nginx configuration directives.
4040
It adds four new directives and they are:
4141

42-
#### modsecurity
43-
----------------
44-
42+
modsecurity
43+
-----------
4544
**syntax:** *modsecurity on | off*
4645

4746
**context:** *http, server, location*
@@ -52,9 +51,8 @@ Turns on or off ModSecurity functionality.
5251
Note that this configuration directive is no longer related to the SecRule state.
5352
Instead, it now serves solely as an nginx flag to enable or disable the module.
5453

55-
#### modsecurity_rules_file
56-
---------------------------
57-
54+
modsecurity_rules_file
55+
----------------------
5856
**syntax:** *modsecurity_rules_file <path to rules file>*
5957

6058
**context:** *http, server, location*
@@ -73,9 +71,8 @@ server {
7371
}
7472
```
7573

76-
#### modsecurity_rules_remote
77-
-----------------------------
78-
74+
modsecurity_rules_remote
75+
------------------------
7976
**syntax:** *modsecurity_rules_remote <key> <URL to rules>*
8077

8178
**context:** *http, server, location*
@@ -95,9 +92,8 @@ server {
9592
}
9693
```
9794

98-
#### modsecurity_rules
99-
----------------------
100-
95+
modsecurity_rules
96+
-----------------
10197
**syntax:** *modsecurity_rules <modsecurity rule>*
10298

10399
**context:** *http, server, location*

0 commit comments

Comments
 (0)