HomeAssistant 折腾日记——nginx 反向代理配置 - 九仞之行
如需反向代理至外网访问,需要在configuration.yaml
http:
use_x_forwarded_for: true
trusted_proxies:
- XXX.XXX.XXX.XXX # 反向代理服务端运行的ip (如127.0.0.1)重启后生效
HomeAssistant 折腾日记——nginx 反向代理配置 - 九仞之行
如需反向代理至外网访问,需要在configuration.yaml
http:
use_x_forwarded_for: true
trusted_proxies:
- XXX.XXX.XXX.XXX # 反向代理服务端运行的ip (如127.0.0.1)重启后生效