coreruleset / coraza-crs-docker

Coraza, CRS and Caddy
3 stars 0 forks source link

Latest Build Error - ${CORAZA_DEBUG_LOGLEVEL}": invalid syntax #16

Closed loukaniko85 closed 3 months ago

loukaniko85 commented 3 months ago

Thank you for adding the plugin support - looking forward to trying the latest build. However, the latest push seems to have broken my container.

Error below.

{"level":"info","ts":1722762449.3306267,"msg":"using config from file","file":"/etc/caddy/Caddyfile"} {"level":"info","ts":1722762449.3312898,"msg":"adapted config to JSON","adapter":"caddyfile"} {"level":"info","ts":1722762449.332384,"logger":"admin","msg":"admin endpoint started","address":"localhost:2019","enforce_origin":false,"origins":["//localhost:2019","//[::1]:2019","//127.0.0.1:2019"]} {"level":"info","ts":1722762449.3325653,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0001de200"} {"level":"info","ts":1722762449.3336425,"logger":"tls.cache.maintenance","msg":"stopped background certificate maintenance","cache":"0xc0001de200"} Error: loading initial config: loading new config: loading http app module: provision http: server srv0: setting up route handlers: route 0: loading handler modules: position 0: loading module 'waf': provision http.handlers.waf: invalid WAF config: strconv.Atoi: parsing "${CORAZA_DEBUG_LOGLEVEL}": invalid syntax Generating configuration files...

fzipi commented 3 months ago

Ugh.. I think I've removed that variable 🤦 Weird that it didn't show in the build process.

Let me add it back again.

loukaniko85 commented 2 months ago

Still broken @fzipi

Error: loading initial config: loading new config: loading http app module: provision http: server srv0: setting up route handlers: route 0: loading handler modules: position 0: loading module 'waf': provision http.handlers.waf: invalid WAF config: syntax error for directive SecUploadKeepFiles: syntax error: [on/off]

fzipi commented 2 months ago

Ouch, I might have broken it? 🤔 Will fix tomorrow.