π SNI-based routing to differentiate between secure services.
π Support for multi-tenant architectures using a single IP and port.
π What are the Benefits of TLS Routing?
TLS routing is ideal for environments where secure communication must be preserved from client to backend. With SNI-based routing, the gateway can route requests without accessing the payload, maintaining user privacy and compliance. A well-configured API Gateway can route TLS traffic using:- SNI-based rules (e.g., api.example.com β API service, auth.example.com β Auth service).
- TLS passthrough (default): Maintain end-to-end encryption without terminating TLS at the gateway.
- TLS termination (optional): Handle TLS termination at the gateway if you donβt want your upstream services to terminate TLS.
TLS Routing Examples
The following examples showcase how you can route TLS traffic to your upstream services. See the TLS Endpoints page for more details on how ngrok handles TLS endpoints.- AgentEndpoint
- CloudEndpoint with AgentEndpoint
- Gateway API