Search
Varnish Controller

vcli regexproutes add

Add new regexp route

Synopsis

Add a new regular expression route to the system.

vcli regexproutes add [Name] [flags]

Options

  -h, --help                 help for add
      --regexp string        Header and a regular expression (<Header>:"<RegExp>"[:<tag_id>])
      --regexp-csv string    Regular expressions via CSV
      --reject               Use with Reject routing rule and reject matches.
      --subdecision string   Which subdecision should be used(healthy, leastutilized, random, weight(~)). Default: healthy.

Options inherited from parent commands

  -c, --config string   configuration file for the CLI (default ~/.vcli.yml)
                        Could also be set via VARNISH_CONTROLLER_CLI_CONFIG=/path/to/config.yml
      --csv             Output the response table as CSV format.
  -j, --json            Output the response table as JSON format.

SEE ALSO