If you switched to HTTPS in Apache, make sure to update CodeIgniter’s config file.

<pre lang="bash">
vim /var/www/applications/config/config.php

Change the base URL to https.

<pre lang="bash">
$config['base_url']	= 'https://yourdomain.com/ci/';