awesome-compose/nginx-nodejs-redis/proxy/nginx.conf
Milas Bowman a6048a745a nginx-nodejs-redis: add dev envs config
* Add Docker Desktop Development Environments config
* Upgrade NodeJS image
* Rename `nginx` to `proxy` and use bind mount for config
  for consistency with other examples

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2022-07-11 16:39:34 -04:00

13 lines
171 B
Nginx Configuration File

upstream loadbalancer {
server web1:5000;
server web2:5000;
}
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://loadbalancer;
}
}