nginx load balancing

Edho Arief edho at myconan.net
Sun Mar 4 05:14:31 UTC 2012


2012/3/4 Juan Angulo Moreno <apostols at gmail.com>:
> Hi,
>
> I try configure nginx load balancing with 3 nodes but never show
> images or ccs style from nodes and always obtain this error:
>
> 2012/03/03 22:36:43 [error] 11321#0: *7 open()
> "/usr/local/nginx/html/melchor.jpg" failed (2: No such file or
> directory), client: 181.XX.XX.XX, server: edge.lb.tld, request: "GET
> /melchor.jpg HTTP/1.1", host: "edge.lb.tld", referrer:
> "http://edge.lb.tld/"
> 2012/03/03 22:38:16 [error] 11321#0: *19 open()
> "/usr/local/nginx/html/css/style.css" failed (2: No such file or
> directory), client: 200.XX.XX.XX, server: edge.lb.tld, request: "GET
> /css/style.css HTTP/1.1", host: "edge.lb.tld", referrer:
> "http://edge.lb.tld/"
>

If this is the load balancer's error log, seems like the config hasn't
been reloaded. Try `pkill -HUP nginx`.



More information about the nginx mailing list