The code I posted is the error, not my configuration as such.
Your duckdns config is formatted as far as I understand ‘correctly’, but the NGINX config is not.
My config is entered as follows:
{
"domain": "xxxxxxx.duckdns.org",
"certfile": "fullchain.pem",
"keyfile": "privkey.pem",
"hsts": "max-age=31536000; includeSubDomains",
"cloudflare": false,
"customize": {
"active": false,
"default": "nginx_proxy_default*.conf",
"servers": "nginx_proxy/*.conf"
}
}
The log reads clean:
[19:44:18] INFO: Running nginx…
But i can’t access home assistant when connected to my local network. The only connection that works is remote connection.
If I change my configuration.yaml so that “http:” is commented out as per your step 12 (ie add the #) it works locally, but I can’t access remotely.
Remote access config only
http:
base_url: xxxxxxx.duckdns.org
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
Local access config only:
#http:
#base_url: xxxxxxx.duckdns.org
#ssl_certificate: /ssl/fullchain.pem
#ssl_key: /ssl/privkey.pem
Thanks for your assistance, it’s really appreciated and I know from your first few posts in this topic, you were suffering before it worked.