diff --git a/terraform/docs-rs/fastly-compute-docs-rs/src/main.rs b/terraform/docs-rs/fastly-compute-docs-rs/src/main.rs index 228204b8d..f2681be51 100644 --- a/terraform/docs-rs/fastly-compute-docs-rs/src/main.rs +++ b/terraform/docs-rs/fastly-compute-docs-rs/src/main.rs @@ -18,6 +18,8 @@ const X_ROBOTS_TAG: HeaderName = HeaderName::from_static("x-robots-tag"); const X_ORIGIN_AUTH: HeaderName = HeaderName::from_static("x-origin-auth"); const X_COMPRESS_HINT: HeaderName = HeaderName::from_static("x-compress-hint"); +const X_RLNG_SOURCE_CDN: HeaderName = HeaderName::from_static("x-rlng-source-cdn"); + #[fastly::main] fn main(mut req: Request) -> Result { let secrets = SecretStore::open(DOCS_RS_SECRET_STORE).expect("failed to open secret store"); @@ -71,6 +73,7 @@ fn main(mut req: Request) -> Result { } req.set_header(X_ORIGIN_AUTH, origin_auth.as_ref()); + req.set_header(X_RLNG_SOURCE_CDN, "fastly"); // Send request to backend let mut resp = req.send(DOCS_RS_BACKEND)?;