Skip to main content

TELEPORT_APP_PORT

Constant TELEPORT_APP_PORT 

Source
const TELEPORT_APP_PORT: &str = "internal-http";
Expand description

The named environmentd Service port to register.

NOTE: this is a security control, not tidiness. Without it the agent reads every port on the Service, and its protocol detection matches the port name before it pings anything, so the port named https registers as an app. That is the customer-facing endpoint, and every app the agent builds from one Service inherits that Service’s teleport.dev/app-rewrite, so it would arrive carrying the mz_support header.