nexoctl dist¶
Manage the distributions: custom domains of the buckets
Synopsis¶
Manage the distributions of a Nexo server (Admin API, admin:ManageDistributions): a bucket, or a prefix of it, exposed on custom domains as a website (index document, SPA fallback, error pages, redirects, behaviors per path, signed URLs) or as an S3 endpoint. The changes reach every node of a cluster without restart.
Every change reads the distribution, changes it and writes it back guarded by its ETag: a concurrent change is retried. Point the DNS of the domains (CNAME, A/AAAA) to the cluster or to the proxies in front of it.
nexoctl dist [flags]
Options¶
-h, --help help for dist
Options inherited from parent commands¶
--config-dir string configuration directory (default $NEXOCTL_CONFIG_DIR or ~/.nexoctl)
--debug dump the HTTP requests and responses on stderr, with the secrets redacted
--json print JSON Lines (one object per line with a "status" member)
--no-color disable colors (also with the NO_COLOR environment variable)
-q, --quiet hide confirmations and progress (results and errors are still printed)
SEE ALSO¶
- nexoctl - Nexo command-line client
- nexoctl dist behavior - Manage the behaviors per path of a distribution
- nexoctl dist cache - Manage the cache settings of a distribution, its domains and paths
- nexoctl dist cert - Manage the TLS certificates of the domains of the distributions
- nexoctl dist create - Create a distribution
- nexoctl dist disable - Disable a distribution (its domains answer 403)
- nexoctl dist domain - Add and remove the domains (aliases) of a distribution
- nexoctl dist edit - Change the origin, the mode or the default behavior of a distribution
- nexoctl dist enable - Enable a distribution
- nexoctl dist error-page - Replace the error answers of a distribution with pages
- nexoctl dist export - Export distributions as YAML
- nexoctl dist headers - Set the response headers and the CORS policy of a distribution
- nexoctl dist import - Create or replace the distributions of a YAML file
- nexoctl dist info - Show a distribution
- nexoctl dist invalidate - Invalidate cached content of a distribution
- nexoctl dist keygroup - Manage the key groups of the signed URLs and cookies
- nexoctl dist list - List the distributions
- nexoctl dist origin-secret - Manage the origin secret of the proxies in front of the cluster
- nexoctl dist redirect - Manage the redirections of a distribution
- nexoctl dist remove - Remove a distribution
- nexoctl dist resolve - Show what serves a host (distribution, virtual host, S3 API)
- nexoctl dist restrict - Restrict the clients of a distribution (source IP, origin secret, rate limit)
- nexoctl dist sign-url - Sign a URL (or cookies) of a signed behavior
- nexoctl dist test - Show how a distribution serves a URL: behavior, access, headers