Haproxy

Install

sudo apt-get install haproxy -y
sudo systemctl enable --now haproxy

Config

Minimal config /etc/haproxy/haproxy.cfg

defaults
  mode http
  timeout client 10000ms
  timeout connect 3000ms
  timeout server 10000ms    

frontend fe_test
  bind *:8080 
  default_backend be_test

backend be_test
  server my_server 127.0.0.1:8000 check

Verify config

haproxy -f <haproxy.cfg.path> -c