Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home/Archives for https

July 17, 2019

HTTPS in CodeIgniter

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

vim /var/www/applications/config/config.php

vim /var/www/applications/config/config.php

Change the base URL to https.

$config['base_url']	= 'https://yourdomain.com/ci/';

$config['base_url'] = 'https://yourdomain.com/ci/';

May 22, 2018

Free SSL Certificates

I picked up a free SSL certificate from SSLForFree.com. It’s good for 90 days. Not a bad deal. Wished it was longer. Without further ado, the site is now running on https! Check out the secure lock next to my domain! I’ve added a redirect to force visitors to use https instead. It’s a good exercise on how to convert any site from http to https. I learned how to configure Apache and how to use certificates. Anyways, plan to do them for my other websites.

  • Cloud
  • Linux
  • Git

Copyright © 2012–2021