Quickstart
Get traffic flowing through Apoxy in under five minutes.
This guide gets traffic routing through Apoxy in five minutes. Every project comes with a
default Gateway and Proxy — you just need to create a Backend and an HTTPRoute.
A terminal with curl, an Apoxy Cloud account (free tier), and
an upstream you can route to — anything with a public hostname works.
Install the CLI
Pick a platform. The CLI is a single static Go binary; no runtime, no daemon.
# macOS and Linux — recommended for most workstations.
brew install apoxy-dev/tap/apoxy# If you already have a Go toolchain.
go install github.com/apoxy-dev/apoxy/cmd/apoxy@latestUpgrading
To pick up the latest release:
brew update && brew upgrade apoxyThe brew update step refreshes the Apoxy tap so that brew upgrade sees the latest release.
If you installed via go install, re-run it with @latest.
Log in
Authenticate to Apoxy Cloud:
apoxy authThis opens your browser to create a session token. You'll be prompted to create or join an organization.
Route traffic to a backend
Every project starts with a default Gateway listening on ports 80 and 443. Create a file
called route.yaml with a Backend and an HTTPRoute:
apiVersion: core.apoxy.dev/v1alpha2
kind: Backend
metadata:
name: backend-service
spec:
endpoints:
- fqdn: api.internal.example.com
---
apiVersion: gateway.apoxy.dev/v1
kind: HTTPRoute
metadata:
name: api-route
spec:
parentRefs:
- name: default
hostnames:
- api.example.com
rules:
- backendRefs:
- kind: Backend
name: backend-service
port: 8080Replace api.example.com with your domain and api.internal.example.com with the FQDN of your
actual backend service.
Apply the configuration
apoxy apply -f route.yamlApoxy routes traffic through the default Gateway to your backend.
Verify it works
Check the status of the objects you just created:
apoxy gateway list
apoxy gateway routes listSend a test request to your gateway endpoint. Apoxy Cloud provides a public URL — for self-hosted, port-forward to your Proxy and test locally.
curl -H "Host: api.example.com" http://your-gateway-url/You should see traffic flowing to your backend.
Next steps
Now that you have the basics working:
- Advanced HTTPRoute rules — header matching, traffic splits, retries, and timeouts.
- Tunnels & QUIC — access services behind NAT via
connect-iptunnels. - TLS & DNS — custom domains, BYO certs, managed Let's Encrypt issuance.
See Core concepts to understand the architecture, or dive into the CLI reference for every flag and command.