Configuration duck dns and nginx "400: Bad Request"

Hello looking for some help how to set up HA in order to login from remote.

I used DuckDns and Nginx ad it looks all correctly set up, but when i go to login using my remote address i get the message : 400 Bad Request.

in the log i get this message:

 [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy 172.30.33.1

here my config file:

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.0.0.0/8
    - 172.0.0.1
    - 172.30.33.1
    

i don’t understand which ip should i put on trusted proxies, I’m using Home assistant OS 9.5

Did you restart HA after modification of configuration.yaml?