awesome-compose/nginx-nodejs-redis/nginx/nginx.conf
ajeetraina 657dc7c97f Added Nginx, Node and Redis project
Signed-off-by: ajeetraina <ajeetraina@gmail.com>
2022-03-13 17:02:24 +05:30

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;
}
}