- HAProxy 1.8.8-1ubuntu0.11
frontend http_front
bind *:9888
mode tcp #must be tcp when ssl
default_backend http_back
backend http_back
mode tcp #must be tcp when ssl
balance roundrobin
server proxy_pass 172.90.80.70:9777 check
- Nginx 1.17.10
load_module /usr/lib/nginx/modules/ngx_stream_module.so; # may need this
...
stream {
server {
listen 9888;
proxy_connect_timeout 10d;
proxy_timeout 10d;
proxy_pass 172.90.80.70:9777;
}
}