When you have several Nginx replicas in Docker Swarm and you need to share SSL certificate, you can use secrets.
Here is a short extract:
I have nginx as a proxy for a python application. To launch them I have a docker-compose.
When you work on the backend part of django or flask project and there are many static files, sometimes the development server becomes slow. In this case it’s possible to use nginx as reverse proxy to serve static. I’m using nginx in docker and the configuration is quite simple.
© 2018 Andrey Zhukov's Tech Blog.