Hello why the real ip not pass to homeassistant.components.http.ban??
2018-08-20 22:26:46 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 127.0.0.1
Nginx
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Forwarded-Proto $scheme;
HA
http:
api_password: !secret api_password
server_port: !secret api_port
use_x_forwarded_for: True
trusted_proxies: 127.0.0.1
ip_ban_enabled: True
login_attempts_threshold: 5