map-route - Cloud Foundry CLI Reference Guide |
cf map-route APP_NAME DOMAIN [--hostname HOSTNAME] [--path PATH]
Map a TCP route:
cf map-route APP_NAME DOMAIN [--port PORT]
cf map-route my-app example.com # example.com
cf map-route my-app example.com --hostname myhost # myhost.example.com
cf map-route my-app example.com --hostname myhost --path foo # myhost.example.com/foo
cf map-route my-app example.com --port 5000 # example.com:5000
HTTP 路徑的主機名稱(共用網域的必要項目)
HTTP 路徑 (route) 的路徑 (path)
Port for the TCP route (default: random port)