From ae476947a6d8fb71f6d5944295e90561756b405b Mon Sep 17 00:00:00 2001 From: Zack Pollard Date: Mon, 10 Jun 2024 10:12:43 +0100 Subject: [PATCH] feat: create cloudflare zone for *.immich.futo.org --- deployment/modules/cloudflare/account/zones.tf | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/deployment/modules/cloudflare/account/zones.tf b/deployment/modules/cloudflare/account/zones.tf index f58c4a91..caae8c47 100644 --- a/deployment/modules/cloudflare/account/zones.tf +++ b/deployment/modules/cloudflare/account/zones.tf @@ -37,3 +37,19 @@ resource "cloudflare_zone_settings_override" "immich_cloud" { output "immich_cloud_zone_id" { value = cloudflare_zone.immich_cloud.id } + +resource "cloudflare_zone" "immich_futo_org" { + account_id = var.cloudflare_account_id + zone = "immich.futo.org" +} + +resource "cloudflare_zone_settings_override" "immich_futo_org" { + zone_id = cloudflare_zone.immich_futo_org.id + + settings { + http3 = "on" + zero_rtt = "on" + tls_1_3 = "zrt" + always_use_https = "on" + } +}