有 base_url 这个参数吗?
一般其实, 推荐走个反向代理的, 你有 addons, 再装一个 NGINX 也很方便, 官方也是这么建议的
配置只需要这点
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24
见 https://www.home-assistant.io/integrations/http/#reverse-proxies
剩下的在 nginx 那边配
https://github.com/home-assistan ... /DOCS.md#how-to-use
|