title: Can not get css and js files in the server that use SSL
body: <p>I have implemented a website in codeigniter , recently I upload it to the production server that has SSL on it.</p>
  
  <p>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 :</p>
  
  <pre><code>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.
  </code></pre>
  
  <p>I have already edit the config.php in codeigniter </p>
  
  <p>e.g. $config['base_url'] = "<a href="https://www.xxxx.com/" rel="nofollow">https://www.xxxx.com/</a>"</p>
  
  <p>but still happen, how to debug and fix it? Thanks for helping</p>