So i was upgrading my network and broke my previous home assistant, so I did a completely fresh install with the Linuxserver version on the Unraid appstore.
However, I’m having some issues with getting proxy set up. I have no “add-ons” button inside my home assistant for me to add the nginx addon also when i go system>network it tells me external network is disabled but then when i click the page is completely blank and my configuration yaml only phase the following
"# Loads default set of integrations. Do not remove.
default_config:
I am running Unraid, with 64gb ram, 8700k - home assistant is running on the same subnet as Swag (nginx&fail2ban) i am also picking up this error in the logs but i cant fix it without being able to get into anything “2023-11-08 08:19:46.204 ERROR (MainThread) [homeassistant.components.http.forwarded] A request from a reverse proxy was received from 172.19.0.4, but your HTTP integration is not set-up for reverse proxies”
Just poking around here: I’m having the same issue; also on unRaid. My reverse proxy is going through nginx-proxy-manager, and is working fine for all my other services: except homeassistant.
I suspect it’s something to do with the setting file in /mnt/user/appdata/homeassistant/configuration.yaml
Got it.
The line below that refers to 172.18.0.0/24. I got that number from the error message showing up in my log:
2024-10-13 21:09:55.516 ERROR (MainThread) [homeassistant.components.http.forwarded] A request from a reverse proxy was received from 172.18.0.1, but your HTTP integration is not set-up for reverse proxies
So that IP that’s trying to access is 172.18.0.1, but you change that last number to a zero, and throw a “/24” on the end. I’m dog-poop and understanding it, it has something to do with a netmask and wildcard I think.
Anyhow: here’s what started working for me!:
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
#10/12/2024 to get this to work with reverse-proxy NPM on unraid
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.18.0.0/24