From 55a54a328ae26f63cd8fe8a6cccbdcd1247c9318 Mon Sep 17 00:00:00 2001 From: Andrew Dryga Date: Thu, 5 Oct 2023 11:14:16 -0600 Subject: [PATCH] Temporary allow http traffic to staging websocket endpoint --- terraform/modules/elixir-app/main.tf | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/terraform/modules/elixir-app/main.tf b/terraform/modules/elixir-app/main.tf index 398f13785..fb6157f98 100644 --- a/terraform/modules/elixir-app/main.tf +++ b/terraform/modules/elixir-app/main.tf @@ -455,13 +455,14 @@ resource "google_compute_url_map" "default" { resource "google_compute_url_map" "https_redirect" { project = var.project_id - name = "${local.application_name}-https-redirect" + name = "${local.application_name}-https-redirect" + default_service = google_compute_backend_service.default["http"].self_link - default_url_redirect { - https_redirect = true - redirect_response_code = "MOVED_PERMANENTLY_DEFAULT" - strip_query = false - } + # default_url_redirect { + # https_redirect = true + # redirect_response_code = "MOVED_PERMANENTLY_DEFAULT" + # strip_query = false + # } } resource "google_compute_target_http_proxy" "default" {