Fix: Flask zurück auf 0.0.0.0 — HA Ingress braucht es (v1.1.4)
127.0.0.1-Binding verursacht 502 Bad Gateway weil HA Supervisor Ingress nicht von localhost aus verbindet. host_network: true + 0.0.0.0 ist die korrekte Konfiguration für HAOS Add-ons. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -303,4 +303,4 @@ if __name__ == "__main__":
|
||||
_restart_all()
|
||||
port = int(os.environ.get("INGRESS_PORT", "8099"))
|
||||
log.info("Web UI startet auf Port %d", port)
|
||||
app.run(host="127.0.0.1", port=port, threaded=True)
|
||||
app.run(host="0.0.0.0", port=port, threaded=True)
|
||||
|
||||
Reference in New Issue
Block a user