Custom TLS Certificate
To replace the self-signed certificate cert.crt with the key cert.key with your own,
you need to mount the certificate and key:
-
Create a YML file named
docker-compose.cert.ymlwith the following content: -
Add
docker-compose.cert.ymlto theCOMPOSE_FILElist in the.envfile: -
Restart the Nginx service: