From e4119d61122905a3064b517bcee71d7aba3b1609 Mon Sep 17 00:00:00 2001 From: Vyacheslav Matyukhin Date: Tue, 12 Apr 2022 12:57:36 +0300 Subject: [PATCH] ops: www domain --- tf/main.tf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tf/main.tf b/tf/main.tf index 18dd6c0..f76dbf3 100644 --- a/tf/main.tf +++ b/tf/main.tf @@ -69,6 +69,12 @@ resource "vercel_project" "metaforecast" { domain { name = "metaforecast.org" } + + domain { + name = "www.metaforecast.org" + redirect = "metaforecast.org" + redirect_status_code = 308 + } } resource "vercel_env" "metaforecast" {