How do I apply SSL if my application (.NET Core) is running inside docker container?

I have web application running inside a docker container on a digitalocean droplet. I’ve successfully generated the .crt files using sslforfree.com

But I’m confused where am I suppose to put the cert? My container is running using these command.

docker run -d -p 80:80 -p 443:443 myrepo/mywebsite

submitted by /u/warheat1990
[link] [comments]

Leave a Reply