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
Option | Description |
---|---|
--allowed-header | allowed header (can be repeated multiple times) |
--allowed-method | allowed method (can be repeated multiple times) |
--allowed-origin | allowed origin (can be repeated multiple times) |
--help, -h | help for add |
Options inherited from parent commands
Option | Description |
---|---|
--config, -C | Specify an alternate config file [env EXOSCALE_CONFIG] |
--output-format, -O | Output format (table|json|text), see "exo output –help" for more information |
--output-template | Template to use if output format is "text" |
--quiet, -Q | Quiet mode (disable non-essential command output) |
--use-account, -A | Account to use in config file [env EXOSCALE_ACCOUNT] |
Related Commands
- cors - Manage buckets CORS configuration