Reverse proxy Synology IPv6

Hello,
I’m trying to access my Home Assistant remotely. I want to do this via my Synology’s reverse proxy. I can access the webpage, but it just keeps looping without connecting. So I think the traffic flow and access rules are correct, but I don’t understand why the connection isn’t being established. Here’s my configuration:
Synology DDNS using IPv6
Reverse proxy to my Home Assistant using IPv4 and port 8123
Here are the headers of my reverse proxy:

X-Forwarded-For -> $proxy_add_x_forwarded_for
X-Forwarded-Proto -> https
X-Forwarded-Host -> $host
Upgrade -> $http_upgrade
Connection -> $connection_upgrade

In my HA configuration/network, i’m activate IPv6 and IPv4 and I’m activate the url of my reverse proxy:
https://*****.synology.me:44200

In the HA configuration file, I entered:

http:

use_x_forwarded_for: true

trusted_proxies:

- IPv4 address of my reverse proxy
- IPv6 address of my reverse proxy
- IPv4 address of internet box

This is the page I’m currently viewing:

In my log i’m:
Login attempt or request with invalid authentication from 2a02-8423-71be-3a02-cd8d-4f17-bcee-9330.rev.sfr.net (2a02:8423:71be:3a02:cd8d:4f17:bcee:9330). Requested URL: ‘/auth/token’. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.3 Safari/605.1.15)

Thank you for your help.

There are some options for proxies that needs to be configured in HA.

Thank you for your response, but i’m already activate this option:

http:

use_x_forwarded_for: true

trusted_proxies:

- IPv4 address of my reverse proxy
- IPv6 address of my reverse proxy
- IPv4 address of internet box

I think my problem is with the WebSocket, but I don’t know what I’m doing wrong, because it works fine in Safari, but not in the app.

Then si can not help much.
I do not use Synology and I avoid Apple at all costs.