nginx as load balancer + apache as a web server issue

josesan311 nginx-forum at nginx.us
Tue Aug 10 11:24:18 MSD 2010


Hello guys,

Im having some weird issue. I currently have my website setup as
follows,

- 1 nginx server configured as a load balancer
- 2 apache servers configured to server the http traffic from the nginx
server

I have a similar ecommerce site where people can buy products, the issue
is that when I try to remove a product from the cart, the product doesnt
get removed.

Few troubleshooting achievements that inclined me to say that its nginx:
I changed my local DNS so I mapped my website to use each of my apache
web servers directly and the problem doesnt show up! item gets removed
from the cart properly.

This is a HTTP website, no secure connection are enabled yet. Could this
be because of a PHP session issues? I have "ip_hash;" configured on my
nginx.conf config file. I can paste my nginx.conf if needed.

Any advice will be appreciated!

Thank you.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,118156,118156#msg-118156




More information about the nginx mailing list