Hi Micha.
Am 04-04-2017 10:39, schrieb Micha Ballmann:
Hi Guys,
I have three identical Nextcloud servers in operation. A haproxy takes
the round robin. In principle everything works, but only almost.
When im surfing the proxy, im reaching one of the server. However, the
login does not work. I surf the individual server directly, everything
works flawlessly.
I have noticed that when I log on to the proxy and try to log in, it
takes a moment and then I redirected to other nextcloud instance. The
url chances from:
http://SERVER/index.php/login -->
http://SERVER/index.php/login?redirect_url=/index.php/apps/files/
[snipp]
I guess i have to do some header or cookie manipulation. But im really
helpless at this time. I hope you can help me!
I suggest to take a look into this blog post.
http://blog.haproxy.com/2012/03/29/load-balancing-affinity-persistence-sticky-sessions-what-you-need-to-know/
There is also a section about 'Web application persistence'.
Best regards!
Micha
Regards
Aleks