nb env proxy
In NocoBase CLI, nb env proxy is the entry point for reverse-proxy related commands. You mainly use it to discover and choose the Nginx and Caddy provider subcommands.
If your app has already been saved as a CLI-managed env, and that env is local or docker, picking one provider subcommand is usually enough.
Usage
Which subcommand should you open first
Notes
nb env proxydoes not have its own flags- Use
nb env proxy nginxornb env proxy caddywhen you want to generate configs - Both subcommands only work for managed envs whose runtime is reachable from the current machine, which means
localordocker - If you change settings such as
app-portorapp-public-pathwithnb env update, you will usually need to rerun the matching proxy subcommand afterward - This command group does not currently work for envs that only have a remote API connection or for SSH envs

