Following setup:
Problem: $.getJSON() and $.get() get a url like " http://host.com:1234/stats ". The url parameter is definitely right (checked it with debug log). But jquery seems to automatically convert the http to https (what gives back a connection error). Mixed content is allowed.
Configuring SSL on the wanted hosts is not an option, because they aren't mine.
Do you guys know a trick to avoid jquery from preventing mixed content?
Thanks for your time and kind regards.
It's caused by the browser itself. The only solution is to use a reverse proxy.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.