Nginx proxy leading to 502 Bad Gateway

Hi there,

i have an nginx proxy outside of my HassOs installation.

it is installed in ip: 172.23.2.52.
My configuration.yml looks like this:

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.23.2.52
    - 172.23.0.0/20

I have also rebooted my hassio machine.

Still i receive only 502 - Bad Gateway when trying to connect via my url.

any ideas?

regards
E