StackPanel

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 caddy

Global Flags

These flags are inherited from parent commands.

FlagTypeDefaultDescription
--daemon, -dboolfalseRun in daemon mode (no TUI, for background processes)
--no-colorboolfalseDisable color output
--no-tuiboolfalseDisable interactive TUI mode
--verbose, -vboolfalseEnable verbose output

Subcommands

CommandDescription
addLink this project's generated Caddy site(s) into the global proxy
listList configured sites
removeUnlink this project's Caddy site(s) from the global proxy
startStart or reload Caddy
statusShow Caddy status
stopStop Caddy

On this page