Anwar asked this 1 year ago

docker nginx-proxy image update error - dhparam.pem no such file

I am trying to upgrade to the latest nginx docker image. After swithcing to the latest image I am getting connection refused.
Container logs show below error message -
directory:fopen('/etc/nginx/dhparam/dhparam.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)

Has the certificate path changed?

LinuxGuru 1 year ago
Just get the latest docker-compose file.
jsRant 1 year ago

Previously dhparam.pem resided in the certs directory. Now it is in a separate dhparam directory.

dhparam has to be mounted as an additional volume to the certs directory.