Req.backend.is_origin

BOOL, read-only.

Available inpassmissfetch


This is a companion discussion topic for the original entry at https://developer.fastly.com/reference/vcl/variables/backend-connection/req-backend-is-origin

Be warned that this will evaluate to true if the backend is the Next-Gen WAF. I had assumed from the sentence “Indicates whether the backend is a customer origin” that it’d be false for the WAF, because I thought that it didn’t count as a “customer origin”, but apparently it does.