Mixed Content: The page at was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://114.29.253.162:3198/getAgentInfo'. This request has been blocked; the content must be served over HTTPS. code example

Example: mixed content: the page at was loaded over https, but requested an insecure xmlhttprequest endpoint

Add below code to your index.php file for on the https

 if((!empty( $_SERVER['HTTP_X_FORWARDED_HOST'])) || (!empty( $_SERVER['HTTP_X_FORWARDED_FOR'])) ) {
 	$_SERVER['HTTP_HOST'] = $_SERVER['HTTP_X_FORWARDED_HOST'];
 	$_SERVER['HTTPS'] = 'on';
 }

Tags:

Php Example