Everything works fine If I use https://mysite.in but the Authorization header is not passed to HTTPS along with the redirect in the case of http://mysite.in.
What is the reason behind it? What am I missing?
Following is the code in apache2.conf.
<IfModule mod_ssl.c>
<VirtualHost _default_:80>
ServerName mysite.in
ServerAlias mysite.in
Redirect / https://mysite.in/
</VirtualHost>
<VirtualHost _default_:443>
ServerName mysite.in
ServerAdmin email@gmail.com
-----------------Some more configs like SSLEngine ON, ProxyPass, ProxyPassReverse
----------------
</VirtualHost>
</IfModule mod_ssl.c>