SSL site unable to login to admin page for C5 version 5.7.5.2

Permalink
I just upgraded my c5 into 5.7.5.2 and make a deploy into my live site. Everything works fine locally which is not using SSL. However, when i deploy it on live, my live site is in SSL (https), I am not able to login to c5 admin due to Mixed content error.

Mixed Content: The page at 'https://test.com/login' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://test.com/login/authenticate/concrete'. This request has been blocked; the content must be served over HTTPS.


Any Idea on how to solve this?

 
RemiNL replied on at Permalink Reply
Add (or replace) to your config/site.php
define('BASE_URL', 'https://test.com');


That's it!
jtay replied on at Permalink Reply
I couldn't find /config/site.php in my config. I think they are not using site.php anymore starting from concrete 5.7 but i am not sure where to paste the base url?
jmckee replied on at Permalink Reply
bump