Skip to content

Commit

Permalink
Try to add custom sec rules
Browse files Browse the repository at this point in the history
Try to add another sec rules

Try to fix disabling sec rules

Try to fix disabling sec rules

Try to fix disabling sec rules

Try to fix disabling sec rules
  • Loading branch information
rtaieb committed Feb 3, 2023
1 parent 5327376 commit 1a9aee3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions my_security_rules.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SecRuleRemoveById 942190
2 changes: 2 additions & 0 deletions servers.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ server {
add_header Cache-Control $cache_control;

location / {
modsecurity on;
modsecurity_rules_file /app/my_security_rules.conf;
try_files $uri.html $uri $uri/ /index.html;
}

Expand Down

0 comments on commit 1a9aee3

Please sign in to comment.