Elasticbeanstalk SSL termination with traefik & letsencrypt

Use this code snippet to do SSL termination with traefik and a letsencrypt certificate in an AWS Elasticbeanstalk Multi-Container Docker environment: Gist: traefik/letsencrypt SSL termination for elasticbeanstalk

This way you don’t have to deal with AWS certificate managing, which doesn’t allow you to get a certificate for the original elasticbeanstalk URI of your hosted app.