I have implemented a website in codeigniter , recently I upload it to the production server that has SSL on it.
The problem is , if I enter using "http", everything works fine. If I enter using "https" , then all css and js is not found. And the error is :
Mixed Content: The page at 'https://www.xxxx.com/' was loaded over a secure connection, but contains a form which targets an insecure endpoint 'http://www.xxxx.com/secure/validate_credentials'. This endpoint should be made available over a secure connection.
Mixed Content: The page at 'https://www.xxxx.com/' was loaded over HTTPS, but requested an insecure stylesheet 'http://www.xxxx.com/assets/font-awesome/css/font-awesome.css'. This request has been blocked; the content must be served over HTTPS.
I have already edit the config.php in codeigniter
e.g. $config['base_url'] = "https://www.xxxx.com/"
but still happen, how to debug and fix it? Thanks for helping