mirror of
https://github.com/fabriziosalmi/patterns.git
synced 2025-12-29 16:15:12 +00:00
Added fixes to Caddy and Ngnix
Did the same fixes that have been done to Apache to Caddy and Nginx
This commit is contained in:
@@ -15,7 +15,6 @@ def copy_waf_files():
|
||||
logging.info("Copying Apache WAF patterns...")
|
||||
os.makedirs(APACHE_WAF_DIR, exist_ok=True)
|
||||
list_of_files = os.listdir(WAF_DIR)
|
||||
workaround = "{"
|
||||
for conf_file in list_of_files:
|
||||
if conf_file.endswith('.conf'):
|
||||
subprocess.run(["cp", f"{WAF_DIR}/{conf_file}", APACHE_WAF_DIR], check=True)
|
||||
|
||||
Reference in New Issue
Block a user