Topic Thread

  • 1.  load balancer config

    Posted 10-19-2019 08:08
    Hi Team,

    I really need your support to advice on how to setup a load balancer for 2 blueprism app servers.
    My whole setup is on aws so initially I was using aws load balancer but getting the "there is no endpoint listening"(I have attached the exact error message).Later I came to know that loadbalancer of aws is not supported as I need to use nginx reverse proxy.

    But after setting nginx reverse proxy also I am getting the same error message.Below is the configuration which I am using for reverse proxy.
    Really appreciate if someone can advice..
    loadbalancer no end point
    on this please...


    nginx.conf 

    worker_processes  1;worker_processes  1;
    events {    worker_connections  1024;}

    http {    include       mime.types;    default_type  application/octet-stream;
        sendfile        on;
        keepalive_timeout  65;
        upstream testlb { ip_hash;        server 10.0.0.11:8199;        server 10.0.0.10:8199 weight=3;    }
        server {        listen       8199;        server_name  localhost;        location / {     proxy_pass http://testlb;        }
            # redirect server error pages to the static page /50x.html        #        error_page   500 502 503 504  /50x.html;        location = /50x.html {            root   html;        }    }}

    ------------------------------
    Gaurav Purohit
    ------------------------------