Japka documentation
Project website · Browse the published guides
Japka serves static websites, forwards HTTP requests to your applications, and balances traffic across backends.
These guides describe Japka 0.4.0. For older installations, see the 0.3.2 guides.
Get running
Section titled “Get running”Let your AI help you set up and configure Japka. Copy this prompt into your AI assistant.
Help me set up Japka. Follow https://japka.org/AGENTS.md and use https://japka.org/llms.txt to find the relevant guides. Inspect this repo and ask what it should serve. Draft the setup, run japka config test, and use japka config plan for changes to an existing file. Show me a request to verify it. Wait for my approval before applying changes or starting Japka.Agents can fetch the operator instructions and the Markdown guide index directly.
| Where are you running Japka? | Start here |
|---|---|
| On your machine | Install with Cargo and serve your first page |
| In a container | Run the published image or mount your own site |
| In a Kubernetes cluster | Deploy two replicas and verify the Service |
Configure and operate
Section titled “Configure and operate”- Route requests and balance traffic by hostname or path, add backends, and configure health checks.
- Review a configuration change to see what an agent’s proposal would change before approving deployment. Reload an approved file on Unix.
- Enable HTTPS, HTTP/2, and HTTP/3 and configure per-host certificates.
- Migrate an NGINX configuration and review the differences before switching traffic.
For specialized deployments, see access policies, static file delivery, and TCP, UDP, and mail forwarding.
Performance
Section titled “Performance”See the throughput and p95 latency for static files and proxied responses on native macOS and in Apple containers. Run the same workloads with the end-to-end suite. Benchmark results · Run the suite