Search
Varnish Controller

vcli externalroutes add

Add new external route

Synopsis

Add a new external route to the system.

vcli externalroutes add [Name] [flags]

Options

      --base-url string                 Base URL for external routing
      --cname string                    CNAME for DNS responses (override A/AAAA responses)
      --health-headers stringToString   Health check headers (default [])
      --health-interval string          Interval for checking health (default "3s")
      --health-method string            Health check method (default "GET")
      --health-path string              Health check path (default "/")
      --health-status int               Expected health check status (default 200)
      --health-threshold int            Health check threshold of window size (before becoming healthy) (default 3)
      --health-timeout string           Timeout for health checks (default "3s")
      --health-window-size int          Health check window size (sliding window) (default 7)
  -h, --help                            help for add
      --ipv4 string                     IPv4 address
      --ipv6 string                     IPv6 address
      --start-healthy                   Assume health probes to be healthy on start
      --template string                 Template for custom location URL in HTTP routing (variables {{.BaseURL}}, {{.Host}}, {{.Path}})
      --verify-tls                      Verify TLS for health probes (default true)
  -w, --weight int                      Weight, arbitrary positive value where highest value have highest priority

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