
Hi All,
I have got HomeAssistant working remote using SSL on the default 8123 port, for both internal and external.
I want to now have internal non ssl, and external SSL. It has been suggested that using nginx reverse proxy is the best way.
When I do this https://mydomain.duckdns.org gives 400: Bad request
Internal works unencrypted correctly
Here are the config/yaml parts of interest. I believe niginx has an IP on 172.30.32.1
Some say as its on the same host, use 127.0.0.1 (didnt work, default has 172.30.32.0/24
So i had both
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.32.0/24
- 127.0.0.1
The config in the ad-on is all at default, bar the domain name changed to mydomain.duckdns.org
The Add-On boots fine, no errors
But when I browse to https://mydomain.duckdns.org I get a black screen in the top corner
400: Bad request
Before playing with NGINX, it was working fine internal & external, using the external URL, this is relying on my internal router looping back the resolved IP. If the WAL link is down, internally it wont resolve, hence wanting to leave local plain old http on port 8123


