I have tried everything with this but still cannot get it to work.
I have a reverse proxy via IIS URL rewrite. The logs show the local gateway IP but always with a different port number after it. I’ve added my entire network (/24) to trusted_proxies and still same thing.
This has been incredibly helpful, but I still have an issue happening.
I’m running on Synology DSM 7, with support for wildcard certs.
My DDNS subdomain for Home Assistant is ha.<mydomain>.synology.me.
I have set up the reverse proxy on my Synology
I have set up the HTTP x_forward/trusted proxy statements in HA, (clearing the 400 error).
I was so incredibly happy to see a Home Assistant login screen after doing this! But when I entered my credentials, and yes, I know they are correct, it seems I get logged in, but then something gets hung up, and I get the screen below.
The resulting URL that gets me the picture below is:
https://ha.<mydomain>.synology.me/lovelace
So it’s as if I’m logging in correctly, but then something is getting hung on the dashboards.
kiwijunglist… yep, nothing works, even if actually typing the “https://” before my “ha” URL. Interesting issue… it’s making it to the HA instance and through the authentication (it looks like)… but the HA instance doesn’t like it after that.