nginx.conf 171 B

123456789101112
  1. upstream loadbalancer {
  2. server web1:5000;
  3. server web2:5000;
  4. }
  5. server {
  6. listen 80;
  7. server_name localhost;
  8. location / {
  9. proxy_pass http://loadbalancer;
  10. }
  11. }