侧边栏壁纸
博主头像
一杯苦咖啡 博主等级

越是宣传的,越是有坑等你填补,越是禁止的,越是不想让你分享的,做一个能独立思考的人

  • 累计撰写 32 篇文章
  • 累计创建 3 个标签
  • 累计收到 4 条评论

目 录CONTENT

文章目录

HomeAsisstant使用nginx proxy manager反代出现400 bad request

Administrator
2024-07-27 / 0 评论 / 0 点赞 / 86 阅读 / 0 字 / 正在检测是否收录...

查看日志文件

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 链接需魔法上网才能访问

0

评论区