Wodby CLI

wodby app instance route create

Create app route

Usage

wodby app instance route create [flags]

Options

Flag Description Default
--action string Route action: BACKEND or REDIRECT -
--auth int Route auth ID 0
--auth-login string Route auth login -
--auth-password string Route auth password -
--data string JSON request body -
-f, --file string Path to JSON request body -
-h, --help help for create false
--host string Route host -
--letsencrypt Request Let's Encrypt certificate false
--main Make route the app instance main route false
--option stringArray Route option as NAME=VALUE; repeatable []
--path string Route path -
--path-type string Route path type: PREFIX or EXACT -
--port int Service port 0
--primary Make route primary for the service endpoint false
--redirect-host string Redirect host -
--redirect-path string Redirect path -
--redirect-scheme string Redirect scheme -
--redirect-status-code int Redirect status code 0
--service string App service ID -

Options inherited from parent commands

Flag Description Default
--access-token string Access token -
--api-base-url string Public REST API base URL https://apiv2.wodby.com/v1
--api-key string API key -
--ci-config-path string Path to CI config /tmp/.wodby-ci.json
-o, --output string Output format: table, vertical, or json table
--verbose Verbose output false

See also

wodby app instance route