Docker Nginx Image and Elastic Beanstalk SSL

Hi Guys,

I have a couple of questions, regarding the SSL, I am working on the Twilio project and I’ve successfully created the video calling between two people and properly generate the docker Nginx image with my ReactJs Webpack compiled static site build. It’s like a static site with Nginx.

Now as per all browsers we need SSL support on in order to work video calling. So I’ve uploaded that image to AWS Elastic Beanstalk as a single docker instance it’s working fine but only I am unable to do a call because user Media is blocked by browser due to SSL problem.

My confusion is where to set up SSL on the AWS EB side or inside of the docker Nginx configuration.

Which is an easy and good solution?

Thank you, Guys.