Source: https://h2corn.monicz.dev/guide/

# User guide

## Deploy an application

- [Behind a reverse proxy](https://h2corn.monicz.dev/deployment/proxy/) — nginx, Caddy, and HAProxy recipes, forwarded identity, and WebSocket routing.
- [Direct TLS](https://h2corn.monicz.dev/deployment/tls/) — certificates, client authentication, and HTTPS without a separate proxy.
- [Migrating to h2corn](https://h2corn.monicz.dev/migrating/) — commands and behavior changes from Uvicorn, Hypercorn, and Gunicorn.

## Run and monitor

- [Operations](https://h2corn.monicz.dev/deployment/operations/) — worker pools, configuration, readiness, rolling reload, shutdown, and logs.
- [Troubleshooting](https://h2corn.monicz.dev/troubleshooting/) — connection errors, startup failures, proxy identity, TLS, and reload.
- [Configuration reference](https://h2corn.monicz.dev/configuration/) — CLI flags, environment variables, TOML settings, and defaults.

## Integrate with Python

- [Embedding](https://h2corn.monicz.dev/embedding/) — run a server in your event loop, await readiness, and control shutdown.
- [WebSockets](https://h2corn.monicz.dev/websockets/) — application code and HTTP/1.1 or HTTP/2 transport requirements.
- [ASGI support](https://h2corn.monicz.dev/asgi/) — file sending, lifespan state, extensions, and errors from `send()`.
- [gRPC and Connect](https://h2corn.monicz.dev/grpc/) — host generated RPC applications and configure native gRPC admission.
- [Python API](https://h2corn.monicz.dev/api/) — `Config`, `Server`, `serve`, and typed ASGI messages.
