I have a dedicated server (Apache+Nginx (as proxy reverse) and php-fpm , mod-rewrite is activated), I host many domains and in one specific domain I want all requests to https://domain.com. I have tried many solutions and all theme but none worked for me.
Please give me a complete code to put in .htaccess
to redirect The following:
domain.com
www.domain.com
https://www.domain.com
To:
https://domain.com