exo storage cors add

Description

This command adds a new rule to the current bucket CORS configuration.

Example:

exo storage cors add sos://my-bucket \
    --allowed-origin "https://my-website.net" \
    --allowed-method "*"
exo storage cors add sos://BUCKET [flags]

Options

OptionDescription
--allowed-headerallowed header (can be repeated multiple times)
--allowed-methodallowed method (can be repeated multiple times)
--allowed-originallowed origin (can be repeated multiple times)
--help, -hhelp for add

Options inherited from parent commands

OptionDescription
--config, -CSpecify an alternate config file [env EXOSCALE_CONFIG]
--output-format, -OOutput format (table|json|text), see "exo output –help" for more information
--output-templateTemplate to use if output format is "text"
--quiet, -QQuiet mode (disable non-essential command output)
--use-account, -AAccount to use in config file [env EXOSCALE_ACCOUNT]

Related Commands

  • cors - Manage buckets CORS configuration