Docs

Tiyi documentation

Tiyi is a single Go binary that runs a Caddy reverse proxy, a Coraza WAF with the OWASP Core Rule Set, an embedded SQLite control plane, and a Vben Admin UI. These docs cover everything from a five-minute first run to a hardened multi-node production deployment.

Start here

If you've never run Tiyi before, follow these three pages in order. They take about 30 minutes end to end and leave you with a real WAF in front of a real upstream.

Design philosophy

Three architectural decisions shape every page that follows:

What these docs are not. These pages cover the operator surface — install, run, secure. For internal architecture and the per-RPC API specification, the canonical sources are PRD-v3.md, PRD-API.md, PRD-DB.md, and PRD-UI.md in the source tree. We link out to the relevant section where it helps.

Versions covered

These docs target v3.0.0-rc.1, the first public release candidate. Behaviour is frozen at this version; subsequent patch releases that change CLI flags, defaults, or output shape are tracked in the changelog and reflected here in the same patch. If a CLI command in these docs disagrees with the binary you're running, the binary is authoritative — please file an issue.