Modsecurity is working!

This commit is contained in:
baudneo
2022-02-21 23:17:12 -07:00
parent 49f52c8473
commit 479cbe3a51
9 changed files with 86 additions and 15 deletions

View File

@@ -3,6 +3,9 @@ server {
listen 80;
listen [::]:80;
#<MODSEC_ON>
#<MODSEC_RULES>
set $forward_scheme "http";
set $server "127.0.0.1";
set $port "80";
@@ -25,6 +28,10 @@ server {
listen 443 ssl;
listen [::]:443 ssl;
#<MODSEC_ON>
#<MODSEC_RULES>
set $forward_scheme "https";
set $server "127.0.0.1";
set $port "443";