mirror of
https://github.com/fabriziosalmi/caddy-mib.git
synced 2025-12-23 14:07:44 -05:00
- Updated `extractStatusCodeFromError` to handle error message format correctly. - Added `::1` and `127.0.0.1` to the whitelist to exclude localhost from banning. - Increased ban duration to 30 seconds globally and 60 seconds for `/api`. - Set `log_level` to `info` to reduce log noise in production. - Replaced `file_server` with a `handle` directive to return "Hello World" with a 200 status code for allowed requests.
1 line
5 B
Plaintext
1 line
5 B
Plaintext
caddy |