When a new API server need to be in production environment, it’s trivial to configure a separate nginx and SSL for every nginx container. Don’t repeat yourself.
That’s why I made dockerize, which intergrates nginx-proxy with letsencrypt-nginx-proxy-companion. Have a check on
nginx-example folder in the repo. Now, it’s easy to get every nginx delopyed with HTTPS.