stack caddy add
Link this project's generated Caddy site(s) into the global proxy
stack caddy add
Link this project's generated Caddy site config(s) into the global Caddy.
Per-site Caddyfile snippets are generated functionally by Nix into .stack/gen/caddy/ on devshell entry (from your stackpanel.apps.<app>.domain and caddy site configuration). This command does NOT generate config — it only creates symlinks from the shared ~/.config/caddy/sites.d/ to the generated files so the global Caddy instance serves them.
With no argument, links all of the project's generated sites, skipping any that another checkout of the project (e.g. a git worktree) already linked: Caddy rejects a domain defined twice. Pass a domain to link a single site, taking it over from any other checkout. Links whose target no longer exists (removed sites, deleted worktrees) are pruned.
Examples: stack caddy add stack caddy add web.myapp.localhost
Usage
stack caddy add [domain]Global Flags
These flags are inherited from parent commands.
| Flag | Type | Default | Description |
|---|---|---|---|
--daemon, -d | bool | false | Run in daemon mode (no TUI, for background processes) |
--no-color | bool | false | Disable color output |
--no-tui | bool | false | Disable interactive TUI mode |
--verbose, -v | bool | false | Enable verbose output |