My application runs under HTTPS with a valid certificate from one of the known credentials. Unfortunately, I am using a third-party API that does not support HTTPS.
The result is a known message. Mixed content: mydomain.com requested an unsafe XMLHttpRequest endpoint.
Is it possible to add an exception to the web server in order to resolve this API call uncertainly !! I am using Nginx BTW.
If not, what other options might be available to solve this problem.
I have a solution, but I do not like it, because it will be a lack of performance:
Implement an API that acts as a proxy server, receive requests from the application via HTTPS, and request from a third-party HTTP API.
source share