Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Sep 29, 2024
1 parent 833735d commit e9a325b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions jobs/fastcgi.nomad
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,16 @@ job "fastcgi" {
port = "9000"

dynamic "connect" {
for_each = !var.test ? [] : [{}]
for_each = var.test ? [{}] : []

content {
sidecar_service {
proxy {
upstreams {
destination_name = "mysql"
local_bind_port = 3306
}
# Test server does not have mysql
# upstreams {
# destination_name = "mysql"
# local_bind_port = 3306
# }

upstreams {
destination_name = "memcached"
Expand Down

0 comments on commit e9a325b

Please sign in to comment.