nginx as load balancer + apache as a web server issue

Juergen Gotteswinter jg at internetx.de
Tue Aug 10 11:34:00 MSD 2010


sounds to me like a session issue. why not just use memcached as session 
backend?

http://www.dotdeb.org/2008/08/25/storing-your-php-sessions-using-memcached/

On 08/10/2010 09:24 AM, josesan311 wrote:
> 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
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list