Watch / Tutorial 14:26
Tutorial

Exploring ngrok's Traffic Policies for Secure Application Development

§ Overview

About this video

What You'll Learn

  1. Restrict Prometheus metrics with ngrok traffic policies by matching the /metrics path.
  2. Use CEL geo variables to block or allow requests by country.
  3. Return a custom 404 response with CEL-interpolated country text for /uk.

Using ngrok Traffic Policies and CEL expressions to lock down a Deno API: restrict the /metrics endpoint to specific IPs, then geo-restrict /uk to United Kingdom visitors with a custom CEL-interpolated 404 response.

§ Technologies featured
Weekly Cloud Native insights

Stay ahead in cloud native

Tutorials, deep dives, and curated events. No fluff.

More about ngrok

View all 5 videos