I have a Amazon ec2 instance with apache webserver installed. I have used Certbot to install a SSl certificate. I want to display a Image on my site using javascript. When a user enters in a edit text box I want to dynamically change a image. Im currently using javascript to change it. When I access the image I get this message "requested an insecure image 'http://myurl.jpg'. This content should also be served over HTTPS. How do I use Https so serve the image?
document.getElementById("img").src="http://myurl.jpg"