mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-15 03:48:03 +02:00
Remove the nginx rewrite directive that could cause URL normalization/re-encoding issues with special characters in query strings (like spaces encoded as +). HA Supervisor strips the ingress prefix before forwarding, making the rewrite unnecessary. Without it, proxy_pass uses the raw $request_uri which preserves URL encoding. Also fix Connection header from hardcoded "upgrade" to $connection_upgrade map variable for proper WebSocket vs regular HTTP request handling. Agent-Logs-Url: https://github.com/alexbelgium/hassio-addons/sessions/3982b002-dfcb-4eb5-98c2-913f665b6a07 Co-authored-by: alexbelgium <44178713+alexbelgium@users.noreply.github.com>