From 6c5e8d7536b27c9b981d4d6f7a0be4c64f568909 Mon Sep 17 00:00:00 2001 From: Steven Welch Date: Sun, 4 Oct 2026 18:24:48 -0600 Subject: [PATCH] fix(opencode): use supported ssl field for HSTS matching --- cf-opencode-hsts.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cf-opencode-hsts.tf b/cf-opencode-hsts.tf index b142597..7090f13 100644 --- a/cf-opencode-hsts.tf +++ b/cf-opencode-hsts.tf @@ -17,7 +17,7 @@ resource "cloudflare_ruleset" "response_headers" { } } } - expression = "(http.host eq \"opencode.makeitwork.cloud\" and http.request.scheme eq \"https\")" + expression = "(http.host eq \"opencode.makeitwork.cloud\" and ssl)" description = "One-day HSTS for the OpenCode HTTPS hostname only" enabled = true }