Hi guys
I read this: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04
Can you give me some tips on how to do this when nginx is run in docker container? All tutorials out there seems to do this with nginx not running in container or with docker compose. Im not using compose right now.
Br
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
Hello, @Lennart99
I would recommend you to switch and use docker-compose and then follow any of the articles that you’ve found. The other option will be is to use a temporary self-signed certificate start Nginx and then request/issue a Let’s Encrypt SSL using the nginx-certbot script:
Hope that this helps! Regards, Alex