400: Bad Request error

Hello,

I installed Home Assistant using Docker and its behind Nginx Proxy Manager, when I access it I get error like:
400: Bad Request

I read that I have to change configuration.yaml (add use_x_forwarded_for) so my configuration looks like:

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 192.168.1.80 # Add the IP address of the proxy server
    - server.local

I restarted container and nothing happened error is still there, what I am doing wrong?

Solved: I had to set docker container’s IP address.