Files
rules/config.yaml
DarkiT 9a640012a6 init
2025-03-16 20:02:41 +08:00

24 lines
344 B
YAML

server:
port: 8080
host: 0.0.0.0
read_timeout: 60
write_timeout: 60
shutdown_timeout: 10
storage:
type: file
rule_path: ./rules
logger:
level: info
file: ./logs/rule-engine.log
max_size: 10
max_backup: 5
max_age: 30
compress: true
security:
enable_tls: false
cert_file: ""
key_file: ""
allowed_origins: "*"