From 586f987b4bdf055bf1caa787eb6608377a286966 Mon Sep 17 00:00:00 2001 From: Yousef Alam Date: Tue, 23 Aug 2016 14:10:55 +0100 Subject: [PATCH] Change backend protocol to use HTTPS for Bitergia --- bitergia.tf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bitergia.tf b/bitergia.tf index 156ca29..e35abc4 100644 --- a/bitergia.tf +++ b/bitergia.tf @@ -259,15 +259,15 @@ resource "aws_elb" "bitergia-elb" { instances = ["${aws_instance.bitergia-ec2.id}"] listener { - instance_port = 80 - instance_protocol = "http" + instance_port = 443 + instance_protocol = "https" lb_port = 80 lb_protocol = "http" } listener { - instance_port = 80 - instance_protocol = "http" + instance_port = 443 + instance_protocol = "https" lb_port = 443 lb_protocol = "https" ssl_certificate_id = "arn:aws:acm:us-west-1:${var.aws_account_id}:certificate/e24546b9-d962-4d91-b807-aec1d2fd9372"