HomeDocsConfiguration

Configuration

FOXWAF is configured via the Web console — all changes take effect instantly. Below are the key parameters for each module.

Sites

Each site is a combination of {listen port + SNI/Host + upstream + certificate + rules}:

FieldDescription
Listen0.0.0.0:443 / 0.0.0.0:80 / multiple ports coexist
SNI / HostExact, wildcard (*.example.com) and regex matching are supported
UpstreamMultiple http://ip:port / https://... entries; weights configurable
Load BalancingRound-robin / weighted / consistent-hash / least-connection
CertificateRSA / ECDSA / SM2; OCSP Stapling can be enabled
HTTPS RedirectAutomatic 80 → 443 redirect
WebSocketPass-through toggle; timeouts configured separately

TLS Certificates

Rule Sets

Rule sets fall into three categories: system, industry-specific and custom:

CategorySourceUpdates
System RulesOWASP Core / official FOXWAF extensionsUpdated with each release
Industry RulesFinance / Government / E-commerce specialsProCloud rule-source subscription
Custom RulesCreated via console or APIProTake effect on save
Recommendation:When creating custom rules, run them in Monitor mode for 24~48 hours first to confirm no false positives, then switch to Block mode.

CC / Bot ProtectionPro

Mirrors

On upgrade, mirrors are tried in priority order until one succeeds. Configure them under Mirror Management in the console:

PlatformDescription
GitHubPreferred for overseas nodes
GitCodeCSDN's domestic platform — stable, no proxy required
Official Direct LinkFallback when every mirror fails

Hot Reload

Every configuration change takes effect on save with no restart, backed by RCU-style switching:

Audit & Compliance