How to deploy answer image in aws in docker with ssl and nginx?

Viewed 236

Until now i am deploying answer in aws by

connecting to ec2 by ssh and running this commands

# this is for installing docker
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce
-------------------
sudo docker pull apache/answer
-----------------
sudo docker run --name my-apache-server -p 80:80 -d apache/answer

it is running fine but There is no way to get ssl,after reading some Q&A in here,it became too confusing for me.
help me to deploy the answer from aws with ssl

like with some step by step process

1 Answers

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2024 Apache Answer Meta.