Compare commits

...

2 commits

Author SHA1 Message Date
1a4fb6246b docs: update the non-standard code configuration to forbid access to .env and .git
Some checks failed
Deploy Next.js application / deploy (push) Has been cancelled
2024-09-10 19:43:13 +02:00
b7e2ec9d63 docs: fix invalid JSON on example easywaf-config.json file 2024-09-10 19:37:39 +02:00

View file

@ -109,7 +109,7 @@ It's also recommended to forbid the access to ".env" file and ".git" directories
"nonStandardCodes": [ "nonStandardCodes": [
{ {
"scode": 403, "scode": 403,
"regex": "/^\\/\\.env(?:\\.local)?(?:$|[#?])/" "regex": "/^\\/\\.env(?:\\.local|\\.production)?(?:$|[#?])/"
}, },
{ {
"scode": 403, "scode": 403,