查看日志文件
A request from a reverse proxy was received from 11.11.11.11,but your http integration is not set-up for erverse proxies
记下IP地址:11.11.11.11(每个人情况不一样)
解决办法:
修改configuration.yaml
# Loads default set of integrations. Do not remove.
default_config:
http:
use_x_forwarded_for: true
trusted_proxies:
- 11.11.11.11 # Add the IP address of the proxy server
# 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未安装vscode需先安装
安装步骤
1、设定----附加元件----附加元件商店
2、搜索“vsc”或者“Studio Code Server”
3、点安装即可
文章依视频整理:https://www.youtube.com/watch?v=2OYMdtKVspw 链接需魔法上网才能访问
评论区