loadbalancing is not well.. loadbalancing.

James thenetimp at gmail.com
Mon Sep 8 00:13:59 MSD 2008

Ok here's my config slightly changed for security reasons.

http {

     upstream sitemain {

     server {
         listen 80;
         server_name prod2.site.com;
         location / {
             proxy_pass http://sitemain;

If I go to prod2.site.com I get my site, great so it seems to be  
working.  If I stop the apache server on the machine I get

502 Bad Gateway nginx/0.6.31

Any idea on what I am missing to get it to start reading from


More information about the nginx mailing list