Reverse proxy says it's not configured

I have an nginx reverse proxy in front of other internal sites but it’s not working properly with Home Assistant. When I try to load the page I get a 400 error with the logs showing this.

2025-10-18 10:08:45.821 ERROR (MainThread) [homeassistant.components.http.forwarded] A request from a reverse proxy was received from 127.0.0.1, but your HTTP integration is not set-up for reverse proxies

Here are some of my configurations for both nginx and Home Assistant respectively. Any guidance would be appreciated.

map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

server {
        listen 80;
        server_name homeassistant.acme.net;

        location / {
                proxy_pass http://127.0.0.1:8123;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection $connection_upgrade;
                proxy_http_version 1.1;
        }
}
# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

http:
  internal_url: http://192.168.15.15:8123
  external_url: http://homeassistant.acme.net
  use_x_forward_for: true
  trusted_proxies:
    - 127.0.0.1

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

Do you have reverse proxy really running on the same device as HA to use 127.0.0.1? Anyhow, I’d try IP listed here to be one that proxy is visible on your LAN (192.168.15.x).

1 Like

Yes. The reverse proxy is on the same system as HA. I am running HA in a container so I am wondering if that could be the problem since it has some container networking between it. I’ll change it to see if that fixes it.

I’m running HA in container with reverse proxy. As the previous poster suggested, I have my HA ip (e.g. 192.168.15.15) listed as a trusted proxy as well.