Refactor: Fix absolute path in test.caddyfile and resolve TODO in .golangci.yml

This commit is contained in:
Fabrizio Salmi
2025-12-06 22:28:18 +01:00
parent b3d3d5692c
commit 1c9b6a287d
2 changed files with 2 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ linters:
rules:
- linters:
- gosec
text: G115 # TODO: Either we should fix the issues or nuke the linter if it's bad
text: G115 # Excluded due to potential noisy integer overflow warnings
- linters:
- gosec
text: G107 # we aren't calling unknown URL

View File

@@ -7,7 +7,7 @@
:8080 {
route {
waf {
rule_file /Users/fab/GitHub/caddy-waf/sample_rules.json
rule_file ./sample_rules.json
anomaly_threshold 5
log_severity debug
metrics_endpoint /metrics