configuration.yaml
# https://www.home-assistant.io/integrations/http/
http:
server_port: 38123
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1 # Add the IP address of the proxy server
- 127.0.0.0/24 # You may also provide the subnet mask
- 192.168.101.1 # Add the IP address of the proxy server
- 192.168.101.50 # Add the IP address of the proxy server
- 192.168.101.0/24 # You may also provide the subnet mask
- 114.55.28.108 # You may also provide the subnet mask
ip_ban_enabled: False
login_attempts_threshold: 5
home assistant changes as follow:
change from
.storage/http
"login_attempts_threshold": -1,
"ip_ban_enabled": true,
"ssl_profile": "modern"
change to
"key": "http",
"data": {
"server_port": 38123,
"use_x_forwarded_for": true,
"trusted_proxies": [
"127.0.0.1",
"127.0.0.0",
"192.168.101.1",
"192.168.101.50",
"192.168.101.0",
"114.55.28.108"
],
"ip_ban_enabled": false,
"login_attempts_threshold": 5,
"ssl_profile": "modern",
"cors_allowed_origins": [
"https://cast.home-assistant.io"