Update config logic

This commit is contained in:
d3m0k1d
2026-01-05 16:29:06 +03:00
parent 1ca8d180fe
commit f85ebe6ada
5 changed files with 49 additions and 15 deletions

View File

@@ -0,0 +1,15 @@
package config
const Base_config = `# This is a TOML config file for BanForge it's a simple config file
# https://github.com/d3m0k1d/BanForge
# Firewall settings block
[firewall]
name = "iptables" # Name one of the support firewall(iptables, nftables, firewalld, ufw)
ban_time = 1200
[Service]
name = "nginx"
log_path = "/var/log/nginx/access.log"
enabled = true
`