Force SSL

In Dolibarr version 8 to force SSL you need to change in config.php file as Eldy said $dolibarr_main_force_https='0'; to $dolibarr_main_force_https='https://yourdomain.com/';
I’m pretty sure that applies to all Dolibarr versions.