Added Nginx, Node and Redis project
Signed-off-by: ajeetraina <ajeetraina@gmail.com>
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user