How do I set Environment Variables under Load Balancer for Haproxy and Nginx?

Environment Variables under Load Balancer are as below :


HAProxy:

Variable

Value Example

Description

HAPROXY_VERSION

1.8.9

Version of HAProxy balancer used inside the container

TCP_BALANCING

TRUE

Enables traffic proxying and balancing to TPC backends





 NGINX:

Variable

Value Example

Description

NGINX_VERSION

1.12.2002

Version of NGINX load balancer used inside the container

UPSTREAM_KEEPALIVE

100

Sets the keepalive directive value for upstream

 


Was this article helpful?

mood_bad Dislike 0
mood Like 0
visibility Views: 12995