TCP loadbalancing config with nginx

# cat /etc/nginx/modules-enabled/tcp-load-balance.conf
stream {
    upstream nomad_servers {
       # least_time connect;
       least_conn;
       server 10.2.8.14:4646;
       server 10.2.8.15:4646;
       server 10.2.8.16:4646;
    }
    server {
       listen 0.0.0.0:4444;
       proxy_pass nomad_servers;
    }
}
Index of /blog/2019-12-03-TCP-loadbalancing-config-with-nginx/

Index of /blog/2019-12-03-TCP-loadbalancing-config-with-nginx/


../
HEADER.txt                                         01-Jul-2024 21:41                 381
double-fallback.txt                                01-Jul-2024 21:41                 982