Mentioned URLs are working mydomain.com www.mydomain.com http://mydoamin.com http://www.mydoamin.com https://www.mydoamin.com
But https://mydoamin.com is not working.
Below are my redirection steps in apache:-
ServerName www.mydomain.com
proxypass / http://localhost:8080/
proxypassreverse / http://localhost:8080/
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} =http
RewriteRule .* https://%{HTTP:Host}%{REQUEST_URI} [L,R=permanent]
RewriteCond %{HTTP_HOST} ^www.mydomain.com* [NC]
RewriteRule .* https:/www.mydomain.com/ [L]