Not sure if this is the right place to post/ask about this but, I started getting a reverse proxy error. It only happens when I try to use my setup while on my work network. I can still access the system on my phone but, not on my work network. I did see that there were some changes that need to be made to the YAML setup listed below but, this hasn’t’ helped at all. In fact I could no longer access the system when not on the home network.
I’m running HomeAssistant Supervised on Debian. I’m using duckdns and I have the router forwarding the ports so that HTTPS://mydomain.duckdns.org goes to my homeassistant. If I go to HTTP://mydomain.duckdns.org goes to my router admin.
Current YAML that works on everything but work network.
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
The YAML I tried that broke all external access.
http:
# ssl_certificate: /ssl/fullchain.pem
# ssl_key: /ssl/privkey.pem
use_x_forwarded_for: true
trusted_proxies:
- 172.16.0.0/24
- IP_ADDRESS OF WORK NETWORK
The Error that I’m getting is
ERROR (MainThread) [homeassistant.components.http.forward] A request from a reverse proxy was received from X.X.X.X, but your HTTP integration is not set-up for reverse proxies.
The X.X.X.X is an external IP address.
Any ideas on how to fix it?