{ "Logging": { "LogLevel": { "Default": "Information", "Microsoft.AspNetCore": "Warning", "Microsoft.EntityFrameworkCore": "Warning" } }, "AllowedHosts": "*", "ConnectionStrings": { "OpenWaf": "Data Source=openwaf.db" }, "Database": { "Provider": "sqlite" }, "GeoIp": { "DatabasePath": "" }, "OpenWaf": { "Admin": { "Token": "" }, "State": { "RefreshTtlSeconds": 30 }, "Policy": { "Mode": "Observe", "StreakThreshold": 10, "StreakWindow": "00:05:00", "BanDuration": "01:00:00", "RefusalRange": "400-499", "ServerErrorRange": "500-599", "Geo": "Off", "TrustProxyHeaders": false, "MaxTrackedSources": 10000, "Ipv4KeyPrefixLength": 32, "Ipv6KeyPrefixLength": 64, "EngineBlockStatus": 403, "OperatorBlockStatus": 301, "DefaultRedirectTargets": [ "https://www.iana.org/help/example-domains" ] } }, "ReverseProxy": { "Routes": { "all": { "ClusterId": "upstream", "Match": { "Path": "{**catch-all}" } } }, "Clusters": { "upstream": { "Destinations": { "upstream1": { "Address": "http://127.0.0.1:9000/" } } } } } }