NGINX proxy --> 403: Forbidden

Have been running this addon fine for a long time together with DuckDNS addon.
Ran an update a few days ago and now I get “403: Forbidden” on my public HTTPS address.
I am able to access HA through the local HTTP address and don’t see anything in the logs, just some “Starting” messages and “NGINX is running…”.
I am not sure whether it is related to the update and hope someone can help me.
Thank you.

Turned out my router’s IP address was banned by NGINX. I removed it from ip_ban.yaml, which can be found in the root of your home assistant configuration folder. This resolved the issue.

1 Like

The problem keeps happening (my router’s IP address gets banned).
I added my network in the trusted_proxies section, which now reads:

  trusted_proxies:
    - 172.30.33.0/24
    - 192.168.0.0/16

How can I prevent my local IP addresses getting banned locking me out from accessing HA over https (i.e. from xxx.duckdns.org).
Thanks.