找回密碼
 立即註冊
惟家LINE群QRCODE
    查看: 129|回覆: 0

    HA升2021.7.0無法登入解決方法

    [複製鏈接]

    !lvup!   100%

    363

    主題

    27

    回帖

    2200萬

    積分

    管理員

    積分
    22005752
    發表於 2021-9-1 19:27:00 | 顯示全部樓層 |閱讀模式
    HA升2021.7.0後出現 A request from a reverse proxy was received from 192.168.XX.XX, but your HTTP integration is not set-up for reverse proxies; This request will be blocked in Home Assistant 2021.7 unless you configure your HTTP integration to allow this header
    網頁登入不了HA的同學們
    可以在configuration.yaml 裡加入這段解決

    =================================
    http:
      use_x_forwarded_for: true
      base_url: XXXXX.duckdns.org <=自已的網址
      trusted_proxies:
        - 127.0.0.1
        - ::1
        - 192.168.1.0/24
      ip_ban_enabled: true
      login_attempts_threshold: 5
    ====================================
    比如你HA是192.168.1.100 就是寫192.168.1.0/24 這網段就OK了

    您需要登入後纔可以回帖 登入 | 立即註冊

    本版積分規則

    Archiver|手機版|惟家的智能論壇

    GMT+8, 2026-9-24 11:14 , Processed in 0.080537 second(s), 24 queries .

    快速回覆 返回頂部 返回列表