Install
Tlapiani is a Caddy module. You add it at build time with xcaddy. There is no
separate daemon.
Repository: https://github.com/liusc45/tlapiani. The project was previously
named caddy-wafx. Use the new path in build commands.
Requirements
Section titled “Requirements”- Go, with
xcaddyinstalled. - Pure Go build. No cgo. You can set
CGO_ENABLED=0.
Build Caddy
Section titled “Build Caddy”xcaddy build \ --with github.com/liusc45/tlapiani \The --replace flag pins the T1K client to the fork that Tlapiani targets. Keep
it. Both flags are required for a working build.
What you get
Section titled “What you get”The build produces a Caddy binary with the http.handlers.wafx module and the
embedded OWASP CRS rule sets. The Caddyfile directive is wafx. It is ordered
before reverse_proxy.
Next steps
Section titled “Next steps”- Configure the module in Caddyfile.
- For FrankenPHP builds, see FrankenPHP.