First what i would check is to follow the redirects what is happening, my bet is juggling whit https/http and back maybe due to hsts, so check those redirects
curl -I -L https://mail.mydomain.fr/SOGo
if you see something like
HTTP/2 302
location: https://mail.mydomain.fr/SOGo
HTTP/2 302
location: http://192.168.1.10/SOGo
HTTP/1.1 302
location: https://mail.mydomain.fr/SOGo
that’s it,..