Sadece index.php'ye ekleyin.

if(isset($_SERVER['HTTP_HTTPSSL'])){
$_SERVER['SERVER_PORT']=443;
$_SERVER['HTTPS']='on';
}