Terminate TLS however (and wherever) you want with Traffic Policy →
Platform
Use cases
Blog
Resources
Docs
Pricing
Get ngrok
Login
Sign up
Log in
Sign up
Recipes
Whether you need an API gateway, multicloud failover, or want to integrate ngrok with your stack, recipes help you compose endpoints and Traffic Policy to ingress and manage traffic just right. Wire it up, secure it, and
ship it already
.
Apply different rate limiting policies to separate apps/APIs
As a DevOps or infrastructure engineer, you want to protect all your services from abuse and enforce fairness, but sometimes you can't apply the same rate limiting capacity and sliding window to all service equally.
Add authorization to an API service but share docs/specs openly
You want to add OAuth authentication to an API service without building it yourself, and also allow some content, like API documentation, to remain open to unauthenticated requests.
Route traffic to different endpoints by geography
You want to route traffic based on its geographical location so that your users can receive content tailored to their region for regulatory reasons, such as GDPR.
Route to services based on authentication method
You want to deploy a single endpoint that automatically forwards web and API traffic to the right services based on whether requests use OAuth or JWTs, which guarantees both your web- and API-based services are protected.