From 17ae4f2b0508473a34cd9e8342904ce7048eb93c Mon Sep 17 00:00:00 2001 From: Mateusz Kolakowski Date: Mon, 16 Dec 2024 17:50:36 +0000 Subject: [PATCH] Tribunals: Delete maintenance page (#9101) --- .../environments/tribunals/load_balancer.tf | 72 +++++++++---------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/terraform/environments/tribunals/load_balancer.tf b/terraform/environments/tribunals/load_balancer.tf index 2c1237b611e..c8ecba87fd8 100644 --- a/terraform/environments/tribunals/load_balancer.tf +++ b/terraform/environments/tribunals/load_balancer.tf @@ -157,39 +157,39 @@ resource "aws_lb_listener_rule" "tribunals_lb_rule" { } # Maintenance page - uncomment whenever a maintenance page is needed -resource "aws_lb_listener_rule" "maintenance_page" { - listener_arn = aws_lb_listener.tribunals_lb.arn - priority = 1 - -action { - type = "fixed-response" - fixed_response { - content_type = "text/html" - message_body = < - - - - - Maintenance - We'll be back soon - - -
-
🔧
-

We'll be back soon!

-

We are currently performing scheduled maintenance to improve our services. We apologize for any inconvenience.

-

Please check back shortly. Thank you for your patience.

-
- - -EOF - status_code = "503" - } - } - - condition { - host_header { - values = ["*.*"] - } - } -} +# resource "aws_lb_listener_rule" "maintenance_page" { +# listener_arn = aws_lb_listener.tribunals_lb.arn +# priority = 1 + +# action { +# type = "fixed-response" +# fixed_response { +# content_type = "text/html" +# message_body = < +# +# +# +# +# Maintenance - We'll be back soon +# +# +#
+#
🔧
+#

We'll be back soon!

+#

We are currently performing scheduled maintenance to improve our services. We apologize for any inconvenience.

+#

Please check back shortly. Thank you for your patience.

+#
+# +# +# EOF +# status_code = "503" +# } +# } + +# condition { +# host_header { +# values = ["*.*"] +# } +# } +# }