nginx
sudo apt update
sudo apt upgrade -y
sudo apt install -y nginx
sudo systemctl start nginx
sudo systemctl enable nginx
sudo systemctl status nginx
sudo vi /etc/nginx/conf.d/proxy.conf
sudo systemctl restart nginx
server {
listen 5000;
location / {
proxy_pass http://172.16.0.25:5000;
}
}
server {
listen 5100;
location / {
proxy_pass http://172.16.0.25:5100;
}
}