domain-path
map URL paths on the environment's domains to deployments
🧠Map URL paths on the environment's domains to deployments.
Bind a path prefix (e.g. /api) to a specific deployment, so requests under
that path route to it. add creates the mapping; remove deletes it; list
shows every current binding.
By default the path binds under the environment's default domain. Pass
--domain <hostname> to bind it under one of the environment's custom domains
instead — the same path may route to different deployments on different
domains.
The environment is resolved from --environment, then your default (set with
csph environment use <id>), then COMPUTESPHERE_ENVIRONMENT.
Subcommands​
| Command | Description |
|---|---|
| add | bind a path prefix on a domain to a deployment |
| remove | unbind a path prefix from a deployment |
| list | list the environment's path-to-deployment mappings |
See also​
- csph environments — manage environments