Added Nginx, Node and Redis project

Signed-off-by: ajeetraina <ajeetraina@gmail.com>
This commit is contained in:
ajeetraina
2022-03-05 12:23:50 +05:30
parent 468b963db0
commit 657dc7c97f
12 changed files with 183 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
FROM nginx
RUN rm /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf

View File

@@ -0,0 +1,12 @@
upstream loadbalancer {
server web1:5000;
server web2:5000;
}
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://loadbalancer;
}
}