Skip to content

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