Skip to content

Commit d6429d7

Browse files
committed
fix(aws): probe TLS sidecars over HTTPS
Match ALB health-check transport to the HTTPS target groups so Caddy receives a TLS request instead of rejecting plaintext on port 8443.
1 parent 3a9fdaa commit d6429d7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

infra/aws/platform/compute.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ resource "aws_lb_target_group" "api" {
4848

4949
health_check {
5050
enabled = true
51+
protocol = "HTTPS"
5152
path = "/readyz"
5253
matcher = "200"
5354
healthy_threshold = 2
@@ -68,6 +69,7 @@ resource "aws_lb_target_group" "edge" {
6869

6970
health_check {
7071
enabled = true
72+
protocol = "HTTPS"
7173
path = "/readyz"
7274
matcher = "200"
7375
healthy_threshold = 2

0 commit comments

Comments
 (0)