Configuration

Manage your WAF through environment variables, dashboard, or API. No complex configuration files needed.

Core Settings

API_PORT=8080
ENVIRONMENT=production
LOG_LEVEL=info

Database (PostgreSQL)

DATABASE_URL=postgres://user:pass@host:port/dbname
DB_MAX_OPEN_CONNS=25
DB_MAX_IDLE_CONNS=5

SSL & Let's Encrypt

Automatic HTTPS certificate provisioning and renewal with zero downtime

[email protected]
CERTS_STORAGE=/app/certs
# Staging URL for testing:
# ACME_DIRECTORY_URL=https://acme-staging-v02.api.letsencrypt.org/directory

Redis Configuration

REDIS_ADDR=localhost:6379
REDIS_PASSWORD=
REDIS_DB=0
REDIS_POOL_SIZE=10

WAF Engine Settings

  • Request Timeout - How long to wait for upstream responses (default 30s)
  • Max Request Body - Limit upload sizes to prevent abuse (default 10MB)
  • Bot Detection - Enable or disable intelligent bot classification