Hassio: login not working from custom domain with SSL

I’m closing this thread and will create a new one which better describes the issue
see Websocket error on custom domain with SSL (Synology)