Unable to run nginx Hassio.io on docker fresh install

get this error:

[INFO] Generating dhparams (this will take some time)…
Generating DSA parameters, 4096 bit long prime
…+…+…+…+…+…+…+…+…+…+.+…+…+…+…+…+…+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
…+…+…+…+…+…+…+…+…+.+…+…+…+…+…+…+.+…+…+…+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
[INFO] Creating ‘snakeoil’ self-signed certificate…

Generating a RSA private key
…+++++
…+++++
writing new private key to ‘/data/ssl-cert-snakeoil.key’

[INFO] Running nginx…
nginx: [emerg] BIO_new_file("/ssl/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(’/ssl/fullchain.pem’,‘r’) error:2006D080:BIO routines:BIO_new_file:no such file)

Hi, I am sure by now you’ve found the answer but I ran into the same issues today trying to deploy DuckDNS and NGNX as a reverse proxy. My issue was that I didn’t activate duckDNS add-on property. In the config for duckdns add on you must change accept terms = true in order for it to create the fullchain.pem and privkey.pem