I have Jenkins running on EC2 myip:8080
I have a subdomain jenkins.mydomain.com that I want to point to my jenkins running on the EC2 instance.
What is the best approach to accomplish this? Obviously I want it to load over HTTPS so I was thinking of perhaps creating a CloudFront distribution that would point to a S3 bucket which just redirects to the EC2 instance.
In your opinion, what is the best approach to accomplish this? Thanks
jenkins.mydomain.com —> nginx (SSL termination) —> EC2 Jenkins
If you wish you can also encrypt traffic from nginx to backend servers.