Skip to main content

tuna app

Connect a local upstream to a protected App.

Guide with examples: Apps.

Usage
tuna app [name] [flags]
Examples
tuna app staging
tuna app staging --url=http://localhost:8080
tuna app staging --url=https://localhost:8443 --tls-skip-verify
tuna app staging --hello-world
FlagDescription
--api-key stringYour tuna.am api key with the tunnels:connect scope (env TUNA_API_KEY).
--hello-worldRun a built-in test upstream instead of forwarding to a local service. Useful for verifying auth-pipeline without setting up a real upstream.
--tls-skip-verifyIgnore TLS verification on the upstream connection. Default: true.
--url stringLocal upstream URL to forward traffic to (e.g. http://localhost:8080, https://localhost:8443). Default: http://localhost:8080.

Global flags work too.