Answer the question
In order to leave comments, you need to log in
How to secure a page with https?
Hello!
I have a QAS (Questions & Answers) project. It works over HTTPS. When creating a question, you can upload a photo to its text by uploading it from a computer or by providing a link on the Internet. When the photo is uploaded, everything is fine, but when you specify a link, the picture is always taken from the specified site, which is not the fact that it works with HTTPS. Because of this, on pages with such questions, an error appears stating that some information on the page is not protected, since it is not loaded via HTTPS. Can this be bypassed somehow? Are there any services for uploading images to a site via HTTPS?
Answer the question
In order to leave comments, you need to log in
Give links like your_site.ru/img/key
In nginx, determine the actual url of the image by the key (for example, read from redis), download it, cache it, give it to the client.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question