@tien95
To enable redirecting your website to https you only need to enable SSL in your shop.
QloApps automatically changes the .htaccess to allow redirection to https, so you need not required to add rewrite rules in your server config file.
To enable SSL please follow the following steps.
At the back end, GoTo Preferences Tab and Select General in the drop-down menu. https://prnt.sc/l41djt
Now, click Yes for Enable SSL and click on Save. https://prnt.sc/mq81cd
Now click Yes to Enable SSL on all Pages. Click Save and reload the page, it should work. https://prnt.sc/mq82h0
QloApps only regenerates the .htaccess file in between #start and #end tags and will keep the changes done after the #end tag, when you change SEO & URL setting.