Use the routes
attribute to provide multiple HTTP and TCP routes. Each route for this app is created if it does not already exist.
This attribute is a combination of push
options that include --hostname
, -d
, and --route-path
.
--- ... routes: - route: example.com - route: www.example.com/foo - route: tcp-example.com:1234
The routes
attribute cannot be used in conjunction with the following attributes: host
, hosts
, domain
, domains
, and no-hostname
. An error will result.