stackpanel caddy
Manage Caddy reverse proxy
stackpanel caddy
Manage the global Caddy reverse proxy.
Caddy is a GLOBAL service (unlike other services which are project-local). This avoids port 443 conflicts between projects.
Per-site configs are generated functionally by Nix into your project at: .stack/gen/caddy/<domain>.caddy
This generation is deterministic — it happens on devshell entry from your stackpanel.apps.<app>.domain (and caddy site) configuration. The CLI does not write these files.
'stackpanel caddy add' links your project's generated snippets into the shared ~/.config/caddy/sites.d/ so the global Caddy instance serves them: ~/.config/caddy/sites.d/<project>__<domain>.caddy -> .stack/gen/caddy/<domain>.caddy
'stackpanel caddy remove' unlinks them again. Neither command generates or deletes the .stack/gen/caddy/ files themselves.
Usage
stackpanel caddyGlobal 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 |