Issue when creating/deleting files using https with HAproxy

Hi,

Im having trouble setting up my nextcloud server with haproxy in front of it.

When I access my website directly, I have 0 issues.

BUT, when I try to access it with haproxy (with the haproxy IP) I cannot create or delelete files and the page is reloading constantly…

I cant find any informations on my logs files so I dunno what to do…

I think the problem is with the session or with cookies but Im not sure…

My infrastructure: https://imgur.com/a/iL2SEFK

My haproxy configuration: https://imgur.com/a/3SQTbMh

Both my virtualhosts look like this : https://imgur.com/a/dVDYsu3

Thanks for any help and have a great weekend :slight_smile: