Skip to content

Commit c2847e3

Browse files
authored
use https for healthcheck in aws nomad servers (#262)
1 parent f2f5c5f commit c2847e3

File tree

1 file changed

+3
-3
lines changed
  • nomad-aws/modules/nomad-server-aws

1 file changed

+3
-3
lines changed

nomad-aws/modules/nomad-server-aws/nlb.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ resource "aws_lb_target_group" "target_group_4646" {
1414
health_check {
1515
path = "/v1/agent/health?type=server"
1616
port = "4646"
17-
protocol = "HTTP"
17+
protocol = "HTTPS"
1818
healthy_threshold = 3
1919
unhealthy_threshold = 2
2020
matcher = "200"
@@ -48,7 +48,7 @@ resource "aws_lb_target_group" "target_group_4647" {
4848
health_check {
4949
path = "/v1/agent/health?type=server"
5050
port = "4646"
51-
protocol = "HTTP"
51+
protocol = "HTTPS"
5252
healthy_threshold = 3
5353
unhealthy_threshold = 2
5454
matcher = "200"
@@ -81,7 +81,7 @@ resource "aws_lb_target_group" "target_group_4648" {
8181
health_check {
8282
path = "/v1/agent/health?type=server"
8383
port = "4646"
84-
protocol = "HTTP"
84+
protocol = "HTTPS"
8585
healthy_threshold = 3
8686
unhealthy_threshold = 2
8787
matcher = "200"

0 commit comments

Comments
 (0)