Skip to content

Commit

Permalink
Merge pull request #40 from silinternational/develop
Browse files Browse the repository at this point in the history
update to use sticky cookies for pw-manager and phpmyadmin
  • Loading branch information
fillup authored Nov 14, 2017
2 parents 8e322ff + 7df4031 commit 44524a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions terraform/030-phpmyadmin/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ resource "aws_alb_target_group" "phpmyadmin" {
protocol = "HTTP"
vpc_id = "${var.vpc_id}"
deregistration_delay = "30"

stickiness {
type = "lb_cookie"
}
}

/*
Expand Down
4 changes: 4 additions & 0 deletions terraform/050-pw-manager/main-api.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ resource "aws_alb_target_group" "pwmanager" {
vpc_id = "${var.vpc_id}"
deregistration_delay = "30"

stickiness {
type = "lb_cookie"
}

health_check {
path = "/site/system-status"
matcher = "200"
Expand Down

0 comments on commit 44524a3

Please sign in to comment.