How to configure Let's encrypt certificates for nginx inside a docker image?
I know how to configure let's encrypt for nginx . I'm having hard time configuring let's encrypt with nginx inside a docker image. Let's encrypt certificates are symlinked in etc/letsencrypt/live folder and I don't have permission to view the real certificate files inside /etc/letsencrypt/archive Can someone suggest a way out ? If anyone having this problem, I've solved it by mounting the folders into docker container. I've mounted both etc/letsencrypt and etc/ssl folders into docker Docker has -v flag to mount volumes. Don't forget to open port 443 for the container. Based on how you mount it