400: Bad Request in HomeAssistant

So for some reason in v2021.7.0 HomeAssistant introduced a bug that breaks a lot of systems that rely on its NGINX reverse proxy add-on to provide ssl capabilities. Thankfully the fix itself is pretty simple. 

http:

  use_x_forwarded_for: true

  trusted_proxies:

    - XXX.XXX.XXX.XXX