Ensure nginx proxy is upgradable if control hosts change
@@ -440,7 +440,9 @@ func (c *Cluster) BuildProxyProcess() v3.Process {
return v3.Process{
Name: services.NginxProxyContainerName,
Env: Env,
- Args: []string{"nginx-proxy"},
+ // we do this to force container update when CP hosts change.
+ Args: Env,
+ Command: []string{"nginx-proxy"},
NetworkMode: "host",
RestartPolicy: "always",
HealthCheck: v3.HealthCheck{},
