Skip to main content

Coverage

Ask — the service returns 403 on block and forwards everything else, so an ask gate is allowed. Write the rule as Block if you need a hard stop. Use it when you already serve through Fastly Compute and can declare backends for TrustGuard and for your origin. Not when you cannot manage the service’s backend configuration — without them the fetch never leaves. Limits. Input only, no redaction. Clone the request before reading it, or the body stream forwarded to the origin is consumed. Full comparison: Coverage.
  1. npm create @fastly/compute — handler in src/index.js.
  2. Backends: trustguard (evaluate host), origin (app).
  3. Key in a Fastly Secret Store.
  4. fastly compute publish — Next-Gen WAF still runs first.