This question already has an answer here:
My Drupal site is using https:// but the base URL is not using it.
My site therefore is not opening properly. Is there any way to make Drupal pick up the correct base URL?
I tried adding
$base_url in settings.php but it's giving me this error:
GET https://example.com/js/admin_menu/cache/6599fa6c7ea0ac232a88eaa63e957878 404 (Not Found)