ansible-roles/roles/nginx/templates/ansible_conf.d/naxsi.inc.j2
2021-12-01 19:13:34 +01:00

10 lines
289 B
Django/Jinja

SecRulesEnabled;
DeniedUrl "/RequestDenied";
CheckRule "$SQL >= 8" BLOCK;
CheckRule "$RFI >= 8" BLOCK;
CheckRule "$TRAVERSAL >= 4" BLOCK;
CheckRule "$EVADE >= 4" BLOCK;
CheckRule "$XSS >= 8" BLOCK;
# This rule blocks unkown Content-Type which is just too common
BasicRule wl:11 "mz:BODY";