mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-26 02:38:07 +02:00
Added Nginx, Node and Redis project
This commit is contained in:
parent
6531426a96
commit
22c1733e20
12 changed files with 183 additions and 0 deletions
12
nginx-nodejs-redis/nginx/nginx.conf
Normal file
12
nginx-nodejs-redis/nginx/nginx.conf
Normal file
|
@ -0,0 +1,12 @@
|
|||
upstream loadbalancer {
|
||||
server web1:5000;
|
||||
server web2:5000;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
location / {
|
||||
proxy_pass http://loadbalancer;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue