Skip to content

Commit

Permalink
Add proxy retry details to SSM
Browse files Browse the repository at this point in the history
We jointly debugged a situation where the IP address of the ALB seemed to swap out and apache2 wasn't happy (most likely cached the old IP).  We think this may prevent old IPs from being cached and failing.
  • Loading branch information
galenatjpl authored Sep 3, 2024
1 parent 95ae86d commit 9c3214d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform-unity/ssm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "aws_ssm_parameter" "managementproxy_config" {
value = <<-EOT
<Location "/${var.project}/${var.venue}/management/">
ProxyPass "http://${var.mgmt_dns}/" upgrade=websocket
ProxyPass "http://${var.mgmt_dns}/" upgrade=websocket retry=5 disablereuse=On
ProxyPassReverse "http://${var.mgmt_dns}/"
ProxyPreserveHost On
FallbackResource /management/index.html
Expand Down

0 comments on commit 9c3214d

Please sign in to comment.