Hi, I have same problem, and because that I open again this thread.
I know that is possible to in this config.php line write site url only with first lines //, to be
define('WEB_PATH', '//www.mysite.com/');
And with this setting work both, http and https.
Do this is OK, to put only // without http or https in from of link?
Thank you.