To setup https, please add the https url in the base url config in: \app\Config\App.php line#71
public $baseURL = 'https://yourdomain.com/';
Please remember to add the trailing slash with the url.