Can't connect to Home Assistant from external via https, Synology reverse proxy

I had the same problem and have you tried this?:
https://community.home-assistant.io/t/running-reverse-proxy-on-synology-unable-to-connect-from-hass-on-pi/645307/2