diff --git a/jobs/fastcgi.nomad b/jobs/fastcgi.nomad index 6e30f64..280405e 100644 --- a/jobs/fastcgi.nomad +++ b/jobs/fastcgi.nomad @@ -255,17 +255,7 @@ job "fastcgi" { connect { sidecar_service { - proxy { - upstreams { - destination_name = "mysql" - local_bind_port = 3306 - } - - upstreams { - destination_name = "memcached" - local_bind_port = 11211 - } - } + transparent_proxy {} } sidecar_task { diff --git a/jobs/memcached.nomad b/jobs/memcached.nomad index 4a2d5f7..738130d 100644 --- a/jobs/memcached.nomad +++ b/jobs/memcached.nomad @@ -57,7 +57,9 @@ job "memcached" { port = "11211" connect { - sidecar_service {} + sidecar_service { + transparent_proxy {} + } sidecar_task { config {