Compare commits
2 commits
1b8d8705f4
...
1a4fb6246b
Author | SHA1 | Date | |
---|---|---|---|
1a4fb6246b | |||
b7e2ec9d63 |
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ If you're using SVR.JS behind a reverse proxy, you need to configure _trustProxy
|
|||
Example _easywaf-config.json_ file:
|
||||
```json
|
||||
{
|
||||
"modules" : {
|
||||
"modules": {
|
||||
"xss": {
|
||||
"excludePaths": "/^\\/(?:git\\/)?(?:(?!\\.git).)*\\.git\\/|^\\/(?:(?:navbar-)?logo|powered).png$/"
|
||||
},
|
||||
|
@ -109,7 +109,7 @@ It's also recommended to forbid the access to ".env" file and ".git" directories
|
|||
"nonStandardCodes": [
|
||||
{
|
||||
"scode": 403,
|
||||
"regex": "/^\\/\\.env(?:\\.local)?(?:$|[#?])/"
|
||||
"regex": "/^\\/\\.env(?:\\.local|\\.production)?(?:$|[#?])/"
|
||||
},
|
||||
{
|
||||
"scode": 403,
|
||||
|
|
Loading…
Reference in a new issue