Normally, you are required to add the following lines to your WordPress .htaccess
file:
RewriteCond %{HTTP_HOST} domainname\.tld [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://domainname.tld/$1 [R,L]
The above however or any other such rule, would not work on RunCloud NGINX + Apache2 Hybrid setup. You will be getting redirection error with the above. You have to instead add the following to make it work:
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{SERVER_NAME}/$1 [R,L]
Let me know if this has helped you!