2024年11月24日星期日 上午3:19:39

Home Assistant Remote access Solution

2 年 前
#3769 引用
1
0
2 年 前
#3783 引用
ha proxy configure

If you are running HA with version greater than v2021.7.0, you will get a "400 Bad Request" error when I tried to access HA via the HTTP/HTTPS address. A breaking change was added to this version and if you are running a proxy you need to add to the configuration.yaml the following:

have ::1 as a trusted proxy for IPv6



0
2 年 前
#3784 引用

# proxy
http:
  use_x_forwarded_for: true
  trusted_proxies:
    - [PROXY_IP]

0
2 年 前
#3785 引用
If your proxy is running on another machine, you need to change [PROXY_IP] with the IP address of that machine. But, if you are running the proxy on the same machine that HA is running, you need to change [PROXY_IP] with the Docker internal IP of the container.

localhost

If the proxy is on the same machine then localhost is fine…

I am aware of that but localhost also has an IPv6 equivalent so if you specify 127.0.0.1 it won’t find the other!
0
2 年 前
#3788 引用
1
0
2 年 前
#3789 引用
1
0
2 年 前
#3790 引用
I had the same issue as well with a local Nginx setup. Reverting from core core-2021.6.0 to my backup from a couple of days ago, I don’t see the error. So I suspect something was changed very recently.
0
2 年 前
#3791 引用
I am running Home Assistant Core with Docker on my home server
0
2 年 前
#5832 引用
Dynamic IPs, CloudFlare & Nginx Proxy Manager

https://apexlemons.com/2021/09/01/ultimate-home-lab-dynamic-ips-cloudflare-nginx-proxy-manager/



update home ip via cloudflare-ddns api
0
2 年 前
#5833 引用
Creating an SSH Tunnel using Cloudflare Argo and Access

https://danishshakeel.me/creating-an-ssh-tunnel-using-cloudflare-argo-and-access/
0