Following the guides and documentation to set up NGNIX on port 8123. I use DuckDns for a few years and it works great. Trying now to set it up properly with a reverse proxy. I port forward 443 to 443 no go. It seems to work if I use another port such as 8124 and forward that port, but its not how its supposed to be set up as per all the videos I watched and documentation i read. I use OPNsense router have reflection turned on. I also use the google home assistant so don’t want to lose connection to that. Not on VM. I actually use home assistant blue (Odroid N2+)… Banging my head on a wall for about 2 weeks and my OCD cant leave it alone anymore. Not a coder but I can follow instructions. Can some please help me figure What I’m doing wrong. are instructions outdated, am I missing a setting in my router. Any help or idea will be greatly appreciated.
You can forward from your router any port your proxy listens on. Regardless of what your setup is, the typical path looks like:
Router → Forward port, say, 45323, to proxy → Proxy listening on 45323 → Forward requests to HA on 8123 → HA listening on 8123.
The proxy needs to be configured to accept requests for a given URL (virtual host) and to forward to the backend (HA).
It is advisable to not use the default HTTPS port 443 because some ISP’s block it for residential IP’s and all bots in the world probe it. It’s better to use a high random port, like above 20000. Max is 65535.
Also, giving a read to the HTTP Integration page may come useful.
Thanks you for the reply. I can get the reverse proxy to work on other port. My problem is if the the reverse proxy is working, then it breaks my google assistant service, service cant be reached. Still scratching my head,
Google needs to be able to reach HA. Besides the obvious like making sure that your Google Cloud project is pointed to the proxy URL and port, is your proxy certificate publicly trusted?