toolkit proxy command group lets you manage the reverse proxy routes that map clean *.localhost subdomains to local dev server ports. It exposes three subcommands: list to display every currently registered route, add to manually register a new subdomain pointing to an existing local port, and remove to unregister a route you no longer need. Routes registered here are served by the toolkit proxy daemon at http://<subdomain>.localhost.
The proxy daemon must be active for routes to resolve in the browser. Start it with
toolkit daemon or enable autostart with toolkit autostart enable.toolkit proxy list
Display all active*.localhost proxy routes currently registered in the system, including their target ports and associated application names.
Syntax
Examples
toolkit proxy add
Manually register a*.localhost subdomain route that forwards traffic to an existing local port. Use this when you want to expose a dev server that is already running without going through toolkit run.
Syntax
Options
Examples
toolkit proxy remove
Unregister a*.localhost route by its subdomain name. After removal, the subdomain will no longer resolve through the toolkit proxy daemon.
Syntax
Options
Examples