Load balancer question

Tinte garcia, Miguel Angel miguel.tinte at atos.net
Tue Nov 11 16:42:56 UTC 2014


Hi everyone,
I am starting to work with nginx to use it as a load balancer for a web service. Basically, what I am try to configure is something like:

$  cat nginx.conf
…
http {

           upstream load_balancer {
               server localhost:8080/Instance1;
               server localhost:8080/Instance2;
               server localhost:8080/Instance3;
       }

       server {
               listen 81;
               server_name;
               location / {
                       proxy_pass http://load_balancer;
               }
       }
}
…

I would like nginx to manage the requests among the three instances above, depending on the load. Is it correctly defined? How can I test that my request are properly managed by nginx?
Thanks in advance,

Cheers

This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.

Este mensaje y los ficheros adjuntos pueden contener información confidencial destinada solamente a la(s) persona(s) mencionadas anteriormente y pueden estar protegidos por secreto profesional.
Si usted recibe este correo electrónico por error, gracias por informar inmediatamente al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos no se hace responsable por su contenido. Su contenido no constituye ningún compromiso para el grupo Atos, salvo ratificación escrita por ambas partes.
Aunque se esfuerza al máximo por mantener su red libre de virus, el emisor no puede garantizar nada al respecto y no será responsable de cualesquiera daños que puedan resultar de una transmisión de virus.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20141111/c3b0d307/attachment.html>


More information about the nginx mailing list