Skip to content

Conversation

@sauzher
Copy link

@sauzher sauzher commented Aug 25, 2022

Adds two enviroment parameters MAX_CONN, STATS_REFRESH and the possibility to add a weight to backends when specified as remote host in the BACKENDS variable.

-e MAX_CONN="4" will caps 4 connection on each backend
-e STATS_REFRESH="5s" will enable auto refresh of the stats page every 5 seconds
-e BACKENDS "192.168.10.10:8080:4 192.168.20.10:8080:1" will apply a tuning to load balancer algorithm (4 times more hit on the first server)

:weight is optional anyway

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant