Docker: Nginx Container로 proxy 변경해서 Load balancer 구성하기
·
🐳Docker
Host nginx reverse proxysudo apt updatesudo apt -y install nginxsudo nginx -vdocker run -dit -e SERVER_PORT=5001 -p 5001:5001 -h alb-node01 -u root --name=alb-node01 dbgurum/nginxlb:1.0docker run -dit -e SERVER_PORT=5002 -p 5002:5002 -h alb-node02 -u root --name=alb-node02 dbgurum/nginxlb:1.0docker run -dit -e SERVER_PORT=5003 -p 5003:5003 -h alb-node03 -u root --name=alb-node03 dbgurum/nginxlb:..